Textures in the 3D preview

Announcements and discussion regarding any projects related to Cyan Worlds' Plasma Engine including (but not limited to) CyanWorlds.com Engine, Drizzle, OfflineKI, PyPRP, and libHSPlasma.

Textures in the 3D preview

Postby Branan » Thu Mar 25, 2010 9:14 am

I haven't pushed the code yet, it needs to be cleaned up a bit first, but textures are partially working in the 3D preview now.
Image

Upside-down textures are because of the differences between Direct3D and OpenGL texture coordinates, I think I know how to fix those in a way that will preserve tiled textures.
Image
Your friendly neighborhood shard admin
User avatar
Branan
Gehn Shard Admin
 
Posts: 694
Joined: Fri Nov 16, 2007 9:45 pm
Location: Portland, OR

Re: Textures in the 3D preview

Postby ZURI » Thu Mar 25, 2010 10:05 am

Very impressive! You're making great progress. I'm waiting with bated breath!
MOULagain KI: 45001
User avatar
ZURI
 
Posts: 366
Joined: Mon Nov 16, 2009 8:34 pm
Location: Cincinnati

Re: Textures in the 3D preview

Postby Branan » Thu Mar 25, 2010 10:30 am

Thanks for the vote of confidence :) Hopefully it'll look even prettier by the end of tonight.
Image
Your friendly neighborhood shard admin
User avatar
Branan
Gehn Shard Admin
 
Posts: 694
Joined: Fri Nov 16, 2007 9:45 pm
Location: Portland, OR

Re: Textures in the 3D preview

Postby ZURI » Thu Mar 25, 2010 11:04 am

Honestly, I'm surprised you've been able to make so much progress - in so little time. When you have this finished, many of our lives will be much easier. Keep up the good work! :D
MOULagain KI: 45001
User avatar
ZURI
 
Posts: 366
Joined: Mon Nov 16, 2009 8:34 pm
Location: Cincinnati

Re: Textures in the 3D preview

Postby diafero » Thu Mar 25, 2010 11:22 am

Looks great :-)

PlasmaViewer has some code to render the ages using OpenGL, I think you can re-use a lot of code from there.
I prefer e-mails to "diafero arcor de" (after adding the at and the dot) over PMs.

"Many people's horizon is a circle with a radius of zero. They call it their point of view."

Deep Island Shard | Offline KI
diafero
Deep Island Admin
 
Posts: 2972
Joined: Mon May 05, 2008 5:50 am
Location: Germany

Re: Textures in the 3D preview

Postby Branan » Sun Mar 28, 2010 5:26 pm

Just so everyone who's not in IRC can see all the progress that's been made:
Image

The exact same rendering code that produced that snapshot is in the latest windows snapshot, and in trunk, R87.
Image
Your friendly neighborhood shard admin
User avatar
Branan
Gehn Shard Admin
 
Posts: 694
Joined: Fri Nov 16, 2007 9:45 pm
Location: Portland, OR


Return to Plasma Development

Who is online

Users browsing this forum: No registered users and 6 guests