About Store Forum Documentation Contact



Post Reply 
warping of the model
Author Message
Babulesnik Offline
Member

Post: #1
warping of the model
I have created a model of the barrel in 3d max, but when I start the game it is displayed incorrectly.Instead of a round shape - ellipse.


Attached File(s) Image(s)
   
07-28-2011 10:22 PM
Find all posts by this user Quote this message in a reply
Babulesnik Offline
Member

Post: #2
RE: warping of the model
I found such a distortion in the example of "Сamera". When I move the camera extreme objects vary .In this screenshot, the square becomes a rectangle .


Attached File(s) Image(s)
   
07-29-2011 10:17 PM
Find all posts by this user Quote this message in a reply
Harry Offline
Member

Post: #3
RE: warping of the model
For the second issue I think that you have to play with D.viewFov()
07-29-2011 11:07 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Babulesnik Offline
Member

Post: #4
RE: warping of the model
Thanks, but this way I can `t solve the problem
07-30-2011 12:20 AM
Find all posts by this user Quote this message in a reply
Harry Offline
Member

Post: #5
RE: warping of the model
Yeah I know. In World Editor or Model Editor model looks ok?
07-30-2011 11:21 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Seba Offline
Member

Post: #6
RE: warping of the model
Add obj file and texture.
07-30-2011 02:10 PM
Find all posts by this user Quote this message in a reply
Babulesnik Offline
Member

Post: #7
RE: warping of the model
(07-30-2011 11:21 AM)Harry Wrote:  Yeah I know. In World Editor or Model Editor model looks ok?
Yes,in Model Editor model looks normal.
It's not just my model. I pointed at the other screenshot the same problem. In the example of "Сamera" is also the distortion.
(07-30-2011 02:10 PM)Seba Wrote:  Add obj file and texture.
Model barrel


The problem comes when the model moves away from the camera left or right. The farther away the more strain


Attached File(s) Image(s)
   

.rar  Barrel.rar (Size: 159.39 KB / Downloads: 1)
(This post was last modified: 07-30-2011 02:42 PM by Babulesnik.)
07-30-2011 02:30 PM
Find all posts by this user Quote this message in a reply
Harry Offline
Member

Post: #8
RE: warping of the model
For me it's problem with field of view as I wrote in my first post. See here.

It's your barrel with D.viewFov(DegToRad(100));

[Image: scrsh2.jpg]

And here with D.viewFov(DegToRad(50));

[Image: scrsh3.jpg]

So as I wrote you have to play with this value. The default is DegToRad(75), so try maybe with DegToRad(60). I'm not sure but this is probably the normal filed of view for human eyes wink
(This post was last modified: 07-30-2011 05:54 PM by Harry.)
07-30-2011 05:52 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Babulesnik Offline
Member

Post: #9
RE: warping of the model
very very very big thank Harry ! helped to change this setting, but still achieve 100% failed)
07-30-2011 06:44 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #10
RE: warping of the model
this is how 3D perspective works
07-31-2011 12:06 PM
Find all posts by this user Quote this message in a reply
Babulesnik Offline
Member

Post: #11
RE: warping of the model
(07-31-2011 12:06 PM)Esenthel Wrote:  this is how 3D perspective works
Thank you. Ie there is no other way to solve this problem except D.viewFov(DegToRad()) ???
08-01-2011 05:54 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #12
RE: warping of the model
this is not a problem, this is how 3d perspective works in all 3d applications/games/..
08-02-2011 12:36 PM
Find all posts by this user Quote this message in a reply
Babulesnik Offline
Member

Post: #13
RE: warping of the model
(08-02-2011 12:36 PM)Esenthel Wrote:  this is not a problem, this is how 3d perspective works in all 3d applications/games/..
Ohhhhhhh ... Now I understand.I thought for matrix multiplication is a factor mandrel redeemed from such an effect.
08-02-2011 09:49 PM
Find all posts by this user Quote this message in a reply
Post Reply