Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (SBGuy), 652 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, howardR, 11honza11, ccorrea, sakolin
19047 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
How to hide a models polygons #465173
04/08/17 19:23
04/08/17 19:23
Joined: Apr 2002
Posts: 1,246
ny
jumpman Offline OP
Serious User
jumpman  Offline OP
Serious User

Joined: Apr 2002
Posts: 1,246
ny
Hello!

Is there a way to hide a model's polygons without using c_trace (for the hit.subset)?

Im trying to understand the manuals Vmask toggling, but its not working for me. I have saved a group of triangles in the model as a group.

you.vmask |= 1<<hit.subset;


I have 1 group saved in the MED file of the model thats being hit. I am using C_Trace for testing.

Re: How to hide a models polygons [Re: jumpman] #465174
04/08/17 20:11
04/08/17 20:11
Joined: May 2008
Posts: 2,113
NRW/Germany
alibaba Offline
Expert
alibaba  Offline
Expert

Joined: May 2008
Posts: 2,113
NRW/Germany
Look at this quick example:

https://yueklet.de/test.zip

You basically need to replace hit.subset with the group number and then use flag operations. Also keep in mind that all groups need to be assigned to a skin.


Professional Edition
A8.47.1
--------------------
http://www.yueklet.de
Re: How to hide a models polygons [Re: alibaba] #465190
04/10/17 15:45
04/10/17 15:45
Joined: Apr 2002
Posts: 1,246
ny
jumpman Offline OP
Serious User
jumpman  Offline OP
Serious User

Joined: Apr 2002
Posts: 1,246
ny
Alibaba!

Did you make that yourself? It worked for me! Thank you!

Making multiple groups increases the rendering time of a model, correct?


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