Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
1 registered members (Grant), 999 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
too many polygons model disapearing at close range #70021
04/08/06 01:05
04/08/06 01:05
Joined: May 2005
Posts: 5
M
MDK99 Offline OP
Newbie
MDK99  Offline OP
Newbie
M

Joined: May 2005
Posts: 5
Im using the a5 engine my model is too detailed I believe, and is disapearing too close to the camera. It looks like it is full of holes when it gets a certian distance away. I have put a lot of time into modeling, animating and skinning this model. is there any way I can overcome this by changing a variable in the game engine?

I Have Gamestudio extra v5.51.04, and do not know if it supports different LOD
for entities. do I need to go back to the drawing board with this model?
will A6 render smaller polygons substantially better?
Any help would be appreciated.

Re: too many polygons model disapearing at close r [Re: MDK99] #70022
04/08/06 06:02
04/08/06 06:02
Joined: Jul 2002
Posts: 2,002
Europe
ShoreVietam Offline
Expert
ShoreVietam  Offline
Expert

Joined: Jul 2002
Posts: 2,002
Europe
You have to set your camera.clip_near value to a smaller one if you need really close objects.


My project Schlacht um Kyoto - Das Samurai Browsergame! (sorry, german only)
Re: too many polygons model disapearing at close r [Re: ShoreVietam] #70023
04/08/06 07:02
04/08/06 07:02
Joined: May 2005
Posts: 5
M
MDK99 Offline OP
Newbie
MDK99  Offline OP
Newbie
M

Joined: May 2005
Posts: 5
Sorry, I think I was unclear, my model starts to dissapear the further it gets from the camera, close enough however to notice the holes in the face and body where the small polygons used to be. if it gets far enough away all that is left is a pair of legs. Is there any way to render the model without polygons dissapearing

There are about 6000 polygons in my human sized model, should I reduce this to mabye 3000? or is there a way I can get around this issue without reducing my model detail?

Re: too many polygons model disapearing at close r [Re: MDK99] #70024
04/08/06 08:19
04/08/06 08:19
Joined: Oct 2004
Posts: 1,655
T
testDummy Offline
Serious User
testDummy  Offline
Serious User
T

Joined: Oct 2004
Posts: 1,655
You might try placing the following line
Code:

clip_size = 0;


in C-Script function main().
It's in the 5.51 manual.

Re: too many polygons model disapearing at close r [Re: testDummy] #70025
04/08/06 09:35
04/08/06 09:35
Joined: Nov 2003
Posts: 523
Whitehorse, Yukon, Canada
Paul_L_Ming Offline
User
Paul_L_Ming  Offline
User

Joined: Nov 2003
Posts: 523
Whitehorse, Yukon, Canada
Hiya.

Also, make sure that there are no double polygons or inverted normals on any polygons on your model. (In MED it's under "View" --> "All Models").


^_^

"We've got a blind date with destiny...and it looks like she's ordered the lobster."

-- The Shoveler

A7 Commercial (on Windows 7, 64-bit)
Re: too many polygons model disapearing at close r [Re: Paul_L_Ming] #70026
04/08/06 17:20
04/08/06 17:20
Joined: May 2005
Posts: 5
M
MDK99 Offline OP
Newbie
MDK99  Offline OP
Newbie
M

Joined: May 2005
Posts: 5
thanks for the help var clip_size = 0; worked like a charm.


Moderated by  HeelX, rvL_eXile 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1