interactive blender animation on a web page

Game Engine, Players & Web Plug-in, Virtual Reality, support for other engines

Moderators: jesterKing, stiv

naninuneno
Posts: 26
Joined: Wed Apr 18, 2012 3:31 pm

interactive blender animation on a web page

Postby naninuneno » Mon Jun 11, 2012 2:39 pm

helloooo, everyone :)
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!

CoDEmanX
Posts: 894
Joined: Sun Apr 05, 2009 7:42 pm
Location: Germany

Postby CoDEmanX » Mon Jun 11, 2012 4:08 pm

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/to ... iewer.html
I'm sitting, waiting, wishing, building Blender in superstition...

naninuneno
Posts: 26
Joined: Wed Apr 18, 2012 3:31 pm

Postby naninuneno » Tue Jun 12, 2012 1:04 pm

thanks for the links, CoDEmanX :D
canvasmol is quite interesting! that's what i want..but how? :roll:
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 :oops:

naninuneno
Posts: 26
Joined: Wed Apr 18, 2012 3:31 pm

Postby naninuneno » Tue Jun 12, 2012 1:25 pm

and..another question from me :oops:
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)?? :roll:
i really need help :cry:

CoDEmanX
Posts: 894
Joined: Sun Apr 05, 2009 7:42 pm
Location: Germany

Postby CoDEmanX » Tue Jun 12, 2012 3:04 pm

Flash can be embedded using HTML-object and -embed tags, e.g.:

http://www.siteground.com/tutorials/fla ... ash_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 ... eb-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...

naninuneno
Posts: 26
Joined: Wed Apr 18, 2012 3:31 pm

Postby naninuneno » Tue Jun 12, 2012 3:38 pm

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. :oops: :roll:
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)? :roll:
there are so many questions on my head :oops:

btw, thank you very very much CoDEmanx for helping me until now :)

CoDEmanX
Posts: 894
Joined: Sun Apr 05, 2009 7:42 pm
Location: Germany

Postby CoDEmanX » Wed Jun 13, 2012 12:42 pm

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/3047 ... and-python
I'm sitting, waiting, wishing, building Blender in superstition...


Return to “Interactive 3d”

Who is online

Users browsing this forum: No registered users and 0 guests