sidebar features
sidebar content

Go Back   Blender Artists Forums > Artwork > Finished Projects

Reply
 
Thread Tools
thoro's Avatar
thoro thoro is offline
Member
 
Join Date: Aug 2003
Location: Berlin, Germany
Posts: 1,252
Hi,

some of you might have seen this in News & Chat, but I think this tool is ready for Finished Projects now .

3DNP is a free JavaScript based 3D viewer that comes with a Blender Python script to create a matching camera path:


You will find a demonstration and the full package on my website. Just grab the 3D object with your mouse and rotate it.



Feel free to use 3DNP and share your results in this thread.

I plan to improve the Python Script within the next days, the Script will get a GUI and some parameters to become more flexible...

Cheers

Thorsten

Last edited by thoro; 15-Jun-09 at 13:36.
#1   Old 09-May-05, 20:49   
Reply With Quote


[Kothe]'s Avatar
[Kothe] [Kothe] is offline
Member
 
Join Date: Nov 2004
Posts: 1,041
Kind of slow, but it's so... cool!
............................................
mstram: What is 3DsM?
Whiplash Effigy: I don't know, but it's probably big in germany.
#2   Old 09-May-05, 21:00   
Reply With Quote
Yeonil's Avatar
Yeonil Yeonil is offline
Member
 
Join Date: Apr 2004
Location: Poland
Posts: 417
what formats are supported? if the images are well compressed, it shouldn't make problem. (how many for one showthingy?)

Yeonil
#3   Old 09-May-05, 21:27   
Reply With Quote
Roger's Avatar
Roger Roger is offline
Member
 
Join Date: Jun 2004
Location: Netherlands
Posts: 1,423
looks promesting, the blender web plugin was cool but perhaps this is more handy (if it will work properly and be a bit faster )
............................................
my website
#4   Old 09-May-05, 21:52   
Reply With Quote
=KH=Lupus's Avatar
=KH=Lupus =KH=Lupus is offline
Member
 
Join Date: Jun 2004
Posts: 706
I'm trying to figure out how to get it to load my pics instead of the cube ones, but I'm afraid I'm a bit thick
Could someone please tell me how to do it? And also how do I upload the whole thing to my webpage?

Cheers
............................................
www.LupusArt.com - Personal site
www.blackmesasource.com - Lead Character Modeller
#5   Old 09-May-05, 21:55   
Reply With Quote
mrfranz's Avatar
mrfranz mrfranz is offline
Member
 
Join Date: Jan 2005
Location: Paris, France
Posts: 131
Good job ! it's perfect for presenting our blender model
#6   Old 09-May-05, 21:58   
Reply With Quote
Trident's Avatar
Trident Trident is offline
Member
 
Join Date: Apr 2005
Posts: 461
Advanced JS working in Opera. Miracle.
#7   Old 09-May-05, 22:10   
Reply With Quote
jimmac's Avatar
jimmac jimmac is offline
Member
 
Join Date: Jan 2004
Location: Czech Republic
Posts: 232
Thanks for the neat Quicktime VR, man. The javascript viewer is rad.
............................................
--
Even a stopped clock gives a right time twice a day
#8   Old 09-May-05, 22:27   
Reply With Quote
=KH=Lupus's Avatar
=KH=Lupus =KH=Lupus is offline
Member
 
Join Date: Jun 2004
Posts: 706
How do you get to view the images? I can render them all out but after that I'm stuck.
............................................
www.LupusArt.com - Personal site
www.blackmesasource.com - Lead Character Modeller
#9   Old 09-May-05, 22:31   
Reply With Quote
thoro's Avatar
thoro thoro is offline
Member
 
Join Date: Aug 2003
Location: Berlin, Germany
Posts: 1,252
[Kothe]: Thanks. Hehe, slow? You mean the loading time?

Yeonil: It runs in a standard browser, so images should be JPG, GIF or PNG. The amount of images is up to you.

Roger: Yes, the Blender plugin was very cool - I hope it will be back sometime...

=KH=Lupus: You have to load your Blender scene, delete the camera and append some Objects from the 3DNP.blend file (SHIFT-F1):

/Object/Camera
/Object/Camera.target
/Text/3DNPcam.py
/Text/3DNPmakepath.py

Now open a text editor (SHIFT-F11), select the '3DNPmakepath.py' Script and run it (ALT+P). There should be a new object called 'CameraBoss' now.

In a Buttons Window open the 'Script Links' panel and add a Scene scriptlink (FrameChanged) to '3DNPcam.py'. The camera should follow the vertices of the CameraBoss now using the Camera.taret as TrackTo constraint.

You can scale the CameraBoss sphere to match the size of your scene. Set your render range from 1 to 252 and hit Anim .

Sounds a bit complicated, but I plan to add some of these steps to the Python script '3DNPmakepath.py'.

Put the rendered images into the 'image' folder and look for the right filename settings in 3DNP.html. I used 4 digit framenumbers (like Blender does). You also have to set the 'total' value to 252 if you are using all rendered images.

mrfranz: Thank you!

Trident: It IS working in Opera? Really? Wow!

jimmac: You're welcome . Thanks!

=KH=Lupus: I guess you have to verify 'total', 'filename' and 'suffix' settings in 3DNP.html. Let me know if it works, and show us what you did . I don't care, just DO IT!
#10   Old 09-May-05, 22:40   
Reply With Quote
Trident's Avatar
Trident Trident is offline
Member
 
Join Date: Apr 2005
Posts: 461
Quote:
Originally Posted by thoro

Trident: It IS working in Opera? Really? Wow!
Perfectly (Opera 7.54 on Win XP). Ok, in fact there once was strange global slowdown of the browser during image preload but i'm not sure if it is related to Opera or just my system/internet connection.
#11   Old 09-May-05, 23:06   
Reply With Quote
=KH=Lupus's Avatar
=KH=Lupus =KH=Lupus is offline
Member
 
Join Date: Jun 2004
Posts: 706
All I did was append my model into the .blend file you gave to make things easier hehe. It rendered out the 252 png images with the same names as in the images folder (frame_0001 etc.). I just copied my images into the folder over them. I've set total to 252, levels to 7 but didn't change filename since it is the the same.
But for some reason when I double click 3dnp.html now it just shows a grey page, it doesn't show the loading image or anything. If I move the cursor to the area the image will show it changes to the hand icon, but still doesn't show anything even when I click and move the mouse. Any ideas?

EDIT: Ok got it to work, just need to upload it to get it on my website now.
............................................
www.LupusArt.com - Personal site
www.blackmesasource.com - Lead Character Modeller
#12   Old 09-May-05, 23:08   
Reply With Quote
venomgfx's Avatar
venomgfx venomgfx is offline
Member
 
Join Date: May 2003
Location: Rio Gallegos, Patagonia Argentina
Posts: 324
Hey great work thoro!!

I made a test with one of my characters, this is what i get:

http://www.gallery.venomgfx.com.ar/merlin

I think that i'm gonna use this script a lot =)

Thanks for share it with us, and make it free!! =)
venomgfx
............................................
Venom's Lab! - Training DVD (Blender Open Movie Workshop)
www.venomgfx.com.ar * Yo Frankie! Open Game * CGS Portfolio
#13   Old 10-May-05, 05:07   
Reply With Quote
Mini's Avatar
Mini Mini is offline
Member
 
Join Date: Jan 2005
Location: Maryland
Posts: 25
Great script. I imagine it will be widely used.
#14   Old 10-May-05, 06:03   
Reply With Quote
Roger's Avatar
Roger Roger is offline
Member
 
Join Date: Jun 2004
Location: Netherlands
Posts: 1,423
Quote:
=KH=Lupus: You have to load your Blender scene, delete the camera and append some Objects from the 3DNP.blend file (SHIFT-F1):

/Object/Camera
/Object/Camera.target
/Text/3DNPcam.py
/Text/3DNPmakepath.py

Now open a text editor (SHIFT-F11), select the '3DNPmakepath.py' Script and run it (ALT+P). There should be a new object called 'CameraBoss' now.

In a Buttons Window open the 'Script Links' panel and add a Scene scriptlink (FrameChanged) to '3DNPcam.py'. The camera should follow the vertices of the CameraBoss now using the Camera.taret as TrackTo constraint.

You can scale the CameraBoss sphere to match the size of your scene. Set your render range from 1 to 252 and hit Anim icon_wink.gif.

Sounds a bit complicated, but I plan to add some of these steps to the Python script '3DNPmakepath.py'.

Put the rendered images into the 'image' folder and look for the right filename settings in 3DNP.html. I used 4 digit framenumbers (like Blender does). You also have to set the 'total' value to 252 if you are using all rendered images.
There is no need to do all this.

Just download the program,
unpack it,
start the .blend file,
create or import your own scene,
press alt+P with the mouse over the text window,
press ANIM (in F10 to render the scene)

Now there will be the images just rendered in the right directory and when you'l run the html file, life is good.
............................................
my website
#15   Old 10-May-05, 06:45   
Reply With Quote
thoro's Avatar
thoro thoro is offline
Member
 
Join Date: Aug 2003
Location: Berlin, Germany
Posts: 1,252
Quote:
Originally Posted by Roger
There is no need to do all this.
Hehe, I know - not for a standard scene - but it can be a good way if your existing scene has it's own script links etc. (or maybe I just don't know how to import a COMPLETE scene with all these settings)? . This was just the secure way - and it is what I want the final Python script to do. But thanks for mentioning the easy way, maybe I should just stop to think like a Python script .

venomgfx: Hey, that's sweet! Are you going to make a 3D gallery? That would be so nice with all your cute characters.

Mini: Thanks - I hope so .

=KH=Lupus: Ah, you made it... can't wait to see the result.

Trident: It might be that the excessive opening of files slows it down .
#16   Old 10-May-05, 07:10   
Reply With Quote
jjinkou2 jjinkou2 is offline
Member
 
Join Date: Apr 2005
Posts: 7
great script.
anybody knows how to use it within powerpoint?
#17   Old 10-May-05, 08:58   
Reply With Quote
thoro's Avatar
thoro thoro is offline
Member
 
Join Date: Aug 2003
Location: Berlin, Germany
Posts: 1,252
jjinkou2: Thank you. There is a freeware utility called LiveWeb by Shyam Pillai. It's made for Windows and lets you embed HTML objects into your presentations. I tried it and it works with 3DNP. I think it's a great tool, the only thing that bugs me is that it shows a vertical scrollbar, but I will try to find out how to disable this. I wrote an email to the Author and asked him how to get of the scrollbar ...

Edit: Stupid me, I found the cause for the scrollbar - I had to disable them in my CSS definition :-|. I updated the 3DNP ZIP file on my website. Or you can just edit the CSS definition in your 3DNP.html:

body { background-repeat:no-repeat; overflow:hidden; margin: 0px; padding: 0px; border-style:none; }
html { overflow:hidden; border-style:none; }


Works perfectly now.
#18   Old 10-May-05, 09:55   
Reply With Quote
Job's Avatar
Job Job is offline
Member
 
Join Date: Jan 2005
Location: Holland
Posts: 1,018
What do i have to do after i've pressed anim?

how do i upload this on the internet?
............................................
www.vfxjob.nl
#19   Old 10-May-05, 16:55   
Reply With Quote
thoro's Avatar
thoro thoro is offline
Member
 
Join Date: Aug 2003
Location: Berlin, Germany
Posts: 1,252
The 3DNP-ZIP-file includes a folder called '3DNP 1.1'.

You have to put your rendered images into the subfolder named 'images' and have to set the variables inside the '3DNP.html' file. The '3DNP.html' should display your rendered object now.

If this works, you can upload the whole 3DNP 1.1 path to your webserver and can either open the 3DNP.html in a popup window or integrate it using an IFrame:

<iframe src="3DNP.html" width="300" height="300" hspace="0" vspace="0" scrolling="no" frameborder="0" name="3DNP">

Your Browser is not capable of displaying IFrames. Please use this link.</p></iframe>
#20   Old 10-May-05, 22:13   
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 12:42.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Logo and website design copyright © 2006 by froodee design bureau. All rights reserved.
Other Blender Sites
new icon Blender Homepage »
The official Blender homepage
new icon BlenderNation »
Fresh Blender News, Every Day
new icon Blenderart Magazine »
Blender articles, tutorials and images.
Blender Headlines
Featured Artwork
Short animation: Barrel by Phlopper
Woolly mammoth by sebastian_k
Photorealistic classic furniture by eMirage
Social BlenderArtists