Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, 7th_zorro, dr_panther), 1,297 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
ideas for minimalicstic c_trace? #408278
09/28/12 15:24
09/28/12 15:24
Joined: Dec 2008
Posts: 1,218
Germany
Rackscha Offline OP
Serious User
Rackscha  Offline OP
Serious User

Joined: Dec 2008
Posts: 1,218
Germany
Hi,
c_trace is a usefull function, but sometimes it just does to much.

Imagine i want to retrieve the color of the hitposition(as far as i know, this is possible). It will not just give me the color, but the texturename and many other things.

This is an unnecessary slowdown in most cases.

For example for retrieving the color at a given position, i could walk through the models polygons manually and check them for intersections.

But is there a simple way to retrieve the color?(which is given by the applied texture). I think i have to calculate the required u/v position manually?

Greetings
Rackscha


MY Website with news of my projects:
(for example my current
Muliplayer Bomberman,
GenesisPrecompiler for LiteC
and TileMaster, an easy to use Tile editor)
Sparetime-Development

Re: ideas for minimalicstic c_trace? [Re: Rackscha] #408279
09/28/12 15:43
09/28/12 15:43
Joined: Mar 2006
Posts: 2,252
Hummel Offline
Expert
Hummel  Offline
Expert

Joined: Mar 2006
Posts: 2,252
GS does too much everywhere. That's the price you pay for accessibility. If you need something trimmed for performance you have to write your own engine (or at least search for a more specialized).


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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