encima / jsc3d

Automatically exported from code.google.com/p/jsc3d
0 stars 0 forks source link

extract model dimensions and bound the rotation #128

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hello!

I like really much your nice tool and I have two questions for you.

First of all, I was wondering if there was a way to extract the actual metric 
dimensions of the model and show them in the canvas.

Secondly, is there a way to bound the rotation of the model in order to prevent 
to see, e.g., the bottom or one side?

Thank you in advance and regards,
Erica

Original issue reported on code.google.com by erica.no...@gmail.com on 18 Nov 2014 at 8:59

GoogleCodeExporter commented 9 years ago
Hi, Erica:

1. The rough dimension info can be estimated from the (axis-aligned) bounding 
box of the scene object. A good example is this one: 
http://jsc3d.googlecode.com/svn/trunk/jsc3d/demos/hotel.html, where a wire box 
is calculated and displayed using this method. The bounding box object is 
documented here: 
http://jsc3d.googlecode.com/svn/trunk/jsc3d/docs/symbols/JSC3D.AABB.html.

2. Currently not. But since this has been reported several times, I'll consider 
it for future release.

I'm glad you like this tool :-)

Original comment by Humu2...@gmail.com on 18 Nov 2014 at 1:21

GoogleCodeExporter commented 9 years ago
Thank you very much for your useful tips!!

I'd like to show you what I have done and how I'm using your nice and clever 
tool ;)

This is an example of landing page for one of our 3D models
http://3dom.fbk.eu/files/3dicons/paestum_museum/metope_sele_heraon/metopeseleher
aon_mainlp_3D_FBK.html

I hope you like it!

Thank you again and cheers,
Erica

Original comment by erica.no...@gmail.com on 26 Nov 2014 at 2:23

GoogleCodeExporter commented 9 years ago
Bravo!

I read a book last year on ancient buildings of Italy, which uses a full 
chapter to introduce the remains in the vicinity of Paestum and focuses on the 
Basilica and the Heraion. And I learned more exciting details from your project 
:-)  I'm sure it will be of great help for people being interested in ancient 
Greek artifacts and culture, too.

If you could make time to write me a brief description of your work, I'll be 
very glad to introduce it on this page: 
http://code.google.com/p/jsc3d/wiki/Applications.

Thanks a lot for showing me this great project!

Original comment by Humu2...@gmail.com on 29 Nov 2014 at 3:11