World is too small
-
- Posts: 18
- Joined: Mon Apr 16, 2012 5:04 pm
- Location: Calabasas, CA
- Contact:
World is too small
I'm loading VMF (Valve Hammer Map Files) files into irrlicht using the exact same units. For example, 64 units equals 1.2 meters in Hammer. The thing is, everything looks quite smaller from the camera's perspective. I can't seem to find a setting to make the camera smaller or scale it down somehow (aspect ratio or FOV settings have nothing to do with this). I also don't want to scale the geometry up. Is there any way to make 64 units look like 1.2 meters in Irrlicht? (For example, when rendering a triangle 64 units tall)
Re: World is too small
Looks small relative to which object? I think you are relating it to the software that you use to design the 3d Models. FOV, location of the camera and location of the objects are the factors affecting the size of the rendered images.ItsBritneyBitch wrote:everything looks quite smaller from the camera's perspective
IrrNaCl - Irrlicht Port for Google Chrome Native Client - Demo
Iyan 3D - Make your own 3d animation using your iOS Device
Iyan 3D - Make your own 3d animation using your iOS Device
Re: World is too small
Camera move speed also affects perception, if you're using the default FPS camera.
-
- Posts: 18
- Joined: Mon Apr 16, 2012 5:04 pm
- Location: Calabasas, CA
- Contact:
Re: World is too small
Let's say I have a 64x64 quad both in Irrlicht and in Hammer. It looks quite smaller in Irrlicht.codetiger wrote:Looks small relative to which object? I think you are relating it to the software that you use to design the 3d Models. FOV, location of the camera and location of the objects are the factors affecting the size of the rendered images.ItsBritneyBitch wrote:everything looks quite smaller from the camera's perspective
Re: World is too small
The objects are rendered in different camera settings, that is why you see the difference in size. Post the camera settings in both environment.
IrrNaCl - Irrlicht Port for Google Chrome Native Client - Demo
Iyan 3D - Make your own 3d animation using your iOS Device
Iyan 3D - Make your own 3d animation using your iOS Device
-
- Posts: 18
- Joined: Mon Apr 16, 2012 5:04 pm
- Location: Calabasas, CA
- Contact:
Re: World is too small
Hammer:codetiger wrote:The objects are rendered in different camera settings, that is why you see the difference in size. Post the camera settings in both environment.
FOV: 90
Back clipping plane: 5000 (I guess this means far plane)
Irrlicht:
<default settings>
FOV: PI/ 2.5f (aprox 71 degrees)
Near clipping plane: 1
Far clipping plane: 2000
Still, changing any of these settings doesn't make things appear bigger. The only way I can do that is scaling geometry, but I really don't want to. Thanks for your help.
Re: World is too small
Just move your camera closer?
-
- Posts: 1010
- Joined: Mon Oct 24, 2011 10:03 pm
- Location: 0x45 61 72 74 68 2c 20 69 6e 20 74 68 65 20 73 6f 6c 20 73 79 73 74 65 6d
Re: World is too small
Ok, I have been following this thread, couldn't it simply be that a unit in hammer is bigger than a unit in irrlicht? (Which means that if the unit is 10x bigger in hammer than in irrlicht the mesh will appear to be 10x smaller) Try scaling it up?
"this is not the bottleneck you are looking for"
Re: World is too small
@aammmsterdddam
Even if the unit is 10x different, how would the rendering be affected? The distances will get scaled as well, and the final output should be the same.
As far as I understand, Scaling both units (distance and size units) in 3d does not change anything while rendering.
Even if the unit is 10x different, how would the rendering be affected? The distances will get scaled as well, and the final output should be the same.
As far as I understand, Scaling both units (distance and size units) in 3d does not change anything while rendering.
IrrNaCl - Irrlicht Port for Google Chrome Native Client - Demo
Iyan 3D - Make your own 3d animation using your iOS Device
Iyan 3D - Make your own 3d animation using your iOS Device
Re: World is too small
@aamsterdddam: It's just numbers... and they are not changed on export/import. They just don't mean anything without camera and/or other objects for comparison. A number just _is_ , you can't tell if it's large or small without context.
Camera movement speed also plays a big role in how large objects feel.
Camera movement speed also plays a big role in how large objects feel.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Re: World is too small
hendu wrote:Camera move speed also affects perception, if you're using the default FPS camera.
CuteAlien wrote:Camera movement speed also plays a big role in how large objects feel.
Re: World is too small
@hendu: Sorry, missed that :-)
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Re: World is too small
I don't know if the problem is solved, or if this solution was post, but:
helps
Code: Select all
node->setScale(core::vector3df(x,x,x));
Two things are infinite: the stupidity of the humans and universe. I'm just not sure if the universe is really infinite!
YOLO
YOLO
-
- Posts: 1638
- Joined: Mon Apr 30, 2007 3:24 am
- Location: Montreal, CANADA
- Contact:
Re: World is too small
Hi!
Are you sure about the scale?! Been working with the source engine on some projects... And the scale we use is not that at all. A character is around 72 units (6 feet tall - 2 meters )
Check here:
http://www.worldofleveldesign.com/categ ... nsions.php
Are you sure about the scale?! Been working with the source engine on some projects... And the scale we use is not that at all. A character is around 72 units (6 feet tall - 2 meters )
Check here:
http://www.worldofleveldesign.com/categ ... nsions.php