Raydium 3D Game Engine

Official forum for everything about Raydium, ManiaDrive, MeMak, ...
It is currently Thu Mar 28, 2024 9:44 am

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Sat Jul 26, 2008 11:59 pm 
Offline
User avatar

Joined: Thu Sep 29, 2005 2:59 pm
Posts: 828
With the commit 669 you can load custom size textures. No more power of two issues (except if your application is intended for quite old hardware).
This will make the designer's life a bit easier.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 15, 2008 10:29 pm 
Offline
User avatar

Joined: Sun Mar 16, 2003 2:53 am
Posts: 2591
Location: gnniiiii (Scrat)
IMHO, it's a bad idea. First, there's no fallback for hardware without POT support. But the main trouble is that even with POT support, most video cards will use tricks to handle non-POT textures, and these tricks will lead, mainly, to performance issues but also to a few other disables features (may be RTT, filters, shader texture access, ...).

To make it short, most video cards handles non-power-of-2-textures like they handles non-triangles-polygons: badly :)

This feature may be useful while developing an application, but should be disabled for release. (enabled by a command line switch ?)


Top
 Profile  
 
 Post subject:
PostPosted: Sat Aug 16, 2008 12:18 am 
Offline
User avatar

Joined: Thu Sep 29, 2005 2:59 pm
Posts: 828
ok, I'll do a enable function soon. I't will be disabled by default.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Aug 16, 2008 12:01 pm 
Offline
User avatar

Joined: Thu Sep 29, 2005 2:59 pm
Posts: 828
Done. Commit 680
NPOT textures usage is now disabled by default.
There are two new functions:
raydium_texture_enable_npot_textures()
and
raydium_texture_disable_npot_textures()


Top
 Profile  
 
 Post subject:
PostPosted: Sat Aug 16, 2008 12:39 pm 
Offline
User avatar

Joined: Sun Mar 16, 2003 2:53 am
Posts: 2591
Location: gnniiiii (Scrat)
OK, I've changed a bit function names, to follow usual style :
raydium_texture_npot_enable()/disable()


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 37 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group