Previous Thread  Next Thread

chat icon interactive blender animation on a web page

naninuneno

Posted: Mon Jun 11, 2012 1:39 pm
Joined: 18 Apr 2012
Posts: 26
helloooo, everyone Smile
i would ask about how to make an interactive webpage with blender model on it. So, when people open this web page, people can see a blender model and do something with it (for example : zoom in, zoom out, rotate,etc).
or maybe do you have good tutorials for this? i really need it.
i've searched on google, and what i found are not really helpful.
thanks before!
Reply with quote


CoDEmanX

Posted: Mon Jun 11, 2012 3:08 pm
Joined: 05 Apr 2009
Posts: 695
there are flash-based 3d viewers as well as HTML5 ones. Not sure if there are any good, free projects tho.

Googled these 2:

http://alteredqualia.com/canvasmol/

http://www.canvasdemos.com/userdemos/toxicgonzo/3dobjviewer.html
_________________
I'm sitting, waiting, wishing, building Blender in superstition...
Reply with quote


naninuneno

Posted: Tue Jun 12, 2012 12:04 pm
Joined: 18 Apr 2012
Posts: 26
thanks for the links, CoDEmanX Very Happy
canvasmol is quite interesting! that's what i want..but how? Rolling Eyes
btw, i did google and found something, that is Papervision3D. There is a http://adobe.edgeboss.net/download/adobe/adobetv/gotoandlearn/collada.mov about it that will helpful i thought..
but but but but, if the combination between Blender+Papervision3D is finish, how to put it into web page? like this : http://flashsimulations.com/polonez/
i do have no Idea Embarassed
Reply with quote


naninuneno

Posted: Tue Jun 12, 2012 12:25 pm
Joined: 18 Apr 2012
Posts: 26
and..another question from me Embarassed
on my blender file i made a python script that can be used to modify the model. i mean, there are methods to do this and that with the model (object). So, my question is.... how can i connect these three things? python + exported model from Blender + html site (or papervision3d or anything)?? Rolling Eyes
i really need help Crying or Very sad
Reply with quote


CoDEmanX

Posted: Tue Jun 12, 2012 2:04 pm
Joined: 05 Apr 2009
Posts: 695
Flash can be embedded using HTML-object and -embed tags, e.g.:

http://www.siteground.com/tutorials/flash/flash_functionality.htm#Embed_Flash_movies

WebGL / canvas based stuff have their own HTML tags, but if you wanna use any framework, then check the web docu how to embed them (probably a javascript library)

But if i got you right, this isn't what you really want. You rather want full Blender running as web application, don't ya?

Found this:
http://www.blendernation.com/2010/11/02/burster-blender-web-player/
A Blender web player, which is based on Blender player, maybe this is what you looking for, but it might be limited to Blender Game Engine stuff in terms of scripting
_________________
I'm sitting, waiting, wishing, building Blender in superstition...
Reply with quote


naninuneno

Posted: Tue Jun 12, 2012 2:38 pm
Joined: 18 Apr 2012
Posts: 26
yes, you're right.. i want to 'make' like your last link.
so if i can explain more detail about what i want to do is,
i have a pyhton script. With it, i made buttons that can modify my model. it isn't a game, just a model that can be modified with the buttons.
that's why i'm confused how to 'connect' the model that i import to a web page with my python script which is used to modify the model. Embarassed Rolling Eyes
it's like this link :

http://www.everydayflash.com/blog/index.php/2008/03/01/from-blender-to-papervision3d/

but if i do with papervision3d like in video tutorial that i posted before, how about my python script? it means, i don't need anyomore? should i put the code from python script into the actionscript (like in video tutorial)? Rolling Eyes
there are so many questions on my head Embarassed

btw, thank you very very much CoDEmanx for helping me until now Smile
Reply with quote


CoDEmanX

Posted: Wed Jun 13, 2012 11:42 am
Joined: 05 Apr 2009
Posts: 695
Your options imo:

- use a flash or webgl 3d model viewer and port your python code to the respective language (flash -> actionscript which seems to apply to papervision3d as well, webgl -> most likely javascript)

- try the blender web player and see if it supports all blender python api things, if only game engine --> port the script to use game engine features

- There might be Flash "plugins" for python, but not blender python of course...
http://stackoverflow.com/questions/304779/adobe-flash-and-python
_________________
I'm sitting, waiting, wishing, building Blender in superstition...
Reply with quote


 
Jump to:  
Powered by phpBB © 2001, 2005 phpBB Group