POV-Ray : Newsgroups : povray.general : a simple 3ds max box not centered and resized correctly in povray : Re: a simple 3ds max box not centered and resized correctly in povray Server Time
19 May 2024 08:41:13 EDT (-0400)
  Re: a simple 3ds max box not centered and resized correctly in povray  
From: optima
Date: 30 May 2010 14:45:00
Message: <web.4c02b1834e0d2aabdf816feb0@news.povray.org>
Christian,

thank you for answering, I scale my models same way in povray and 3ds max but it
gives different results for different models, box was just an example.

My whole point is I size models to exactly same parameters in 3ds max and I use
exactly same povray code but their size differs by 2.54 times when rendered in
povray. Beware though these are models downloaded from internet so they have
been built to different dimension specifications in 3ds max. BUT I reopen them
in max and resize them to what I described in my original post and some of them
are oversized by 2.54 times. How do I know this? When I divide model's
dimensions by 2.54 as in scale <50/2.54,75/2.54,60/2.54>  in pov code,
everything fits nicely together.

The box is just a weird example of what I'm trying to say, how come a box I size
to 100 cm in max and scale to  scale <0.025,0.025,0.025> then scale to
 scale <50,75,60> doesn't come out to be 50 cm wide, 75 cm high and 60cm deep
when pov renders it?

I used this same technique for sizing objects in max and povray for almost 2
years now. But for some reason it fails me presently.

meanwhile I made some platform changes though,
- went from 3ds max 2008 32 bit to 3dsmax 2009 64bit
- went from windows xp to windows 7 64bit
- a newer version of poseray

I dont know what these have to do with it? but I list them anyway.
Thank you very much, I am almost sure 3ds max is causing all this trouble,
something in Unit Scale System of max I currently use is different but WHAT? I
appreciate your help.

Christian Froeschlin <chr### [at] chrfrde> wrote:
> optima wrote:
>
> > What setting do I need to change in max to consistenly export to the same
> > dimensions every time? Customize/Unit Setup/System unit scale  dont work I tried
> > many times.
>
> I'm afraid I don't quite understand the problem. You set up a box
> 100 units in size and the exported mesh seems to have coordinates
> ranging from -50 to 50 which is also 100 units in size.
>
> How you scale the unit to fit into your scene is another matter.
> Units in povray are abstract and have no absolute real world size,
> so you can't expect it to end up with a size of "100 cm" anyway.
> You need to scale and translate according to your needs in SDL.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.