Question about Panda3D Cell Shader

Panda3D Forum Index -> Scripting Issues Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ofayto


Posts: 2

PostPosted: Tue Nov 03, 2009 7:26 pm    Post subject: Question about Panda3D Cell Shader Reply with quote
Can Panda3D built in cell shader be able to work with textures from 3D modelling softwares such as Maya? If yes, can any of you kindly help me out by telling me the way/ways to do so? Thanks in advance Very Happy
ThomasEgi


Posts: 1812
Location: Germany,Koblenz

PostPosted: Tue Nov 03, 2009 8:25 pm    Post subject: Reply with quote
hi, and welcome to panda3d ,

if you are refering to the one included in the cartoon-shader demo. well that's just a shader file. it was not designed to be used with textures. but this topic comes up quite frequent on the forum. last time was about a week ago i think.
http://www.panda3d.org/phpbb2/viewtopic.php?t=7257
or
http://www.panda3d.org/phpbb2/viewtopic.php?t=6929
might be of intrest for you. searching the forum for: cartoon shader
brings up a lot more results. several are about toon shaders in combination with textures.
sry i dont have a real how-to. unfortunately i have no knowledge bout the maya pipeline, there are others who do Smile . but i hope i was able to provide you at least with some useful information.
_________________
rig: dell inspiron 1720; ubuntu 9.10_64 ;panda 1.7.0
may a catgirl be with you. nyaan nyan~~ ^.^
ofayto


Posts: 2

PostPosted: Wed Nov 04, 2009 9:35 pm    Post subject: Reply with quote
Thanks for the reply, Thomas....but uh...ehehehe...I forgot to mention that the language which I have been using in Panda3D is Python... Those links which you've provided seemed to be in C language...
drwr


Posts: 8006
Location: Glendale, CA

PostPosted: Wed Nov 04, 2009 10:04 pm    Post subject: Reply with quote
No, that's Cg, which is the language shaders are written in. (It does resemble C, though, so I can understand your confusion.) You can't write a shader in Python, sorry. Wink

David
rdb
pro-rsoft

Posts: 5836
Location: Netherlands

PostPosted: Thu Nov 05, 2009 1:44 am    Post subject: Reply with quote
drwr wrote:
You can't write a shader in Python, sorry.


*rdb feels an awesome idea coming up*
Display posts from previous:   
Post new topic   Reply to topic    Panda3D Forum Index -> Scripting Issues All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group