Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (7th_zorro, TipmyPip, RealSerious3D), 892 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 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