wolfmanfx
03-05-2006 12:03:14
I have question what if i want to brush the alphachannel on the runtime can i see the results immedtily...i want to make some brushing so i can "paint" my terrain the would be nice
tuan kuranes
03-05-2006 13:10:39
//PaintAlphaCenter
mSceneMgr->setOption( "PaintAlphaCenter", &intersectionPoint);
//PaintColorCenter
mSceneMgr->setOption( "PaintColorCenter", &intersectionPoint);
Must be a texturemode ending with edit.
wolfmanfx
03-05-2006 21:28:32
Is intersectionpoint a vector3... iam confussed i give the scenemanganger a colorcenter/alphacenter how do i set now which alpha value the postion is?
Falagard
03-05-2006 23:36:00
Painting is currently broken, or at least not working fully.
Do you have the source code?
There's options you use with SetOption like (off the top of my head):
BrushHeight
BrushWidth
BrushStrength (or maybe BrushScale I can't remember)
The strength is supposed to modify how much alpha is applied but I've found a bug in the code that ignores strength and haven't yet applied a patch.
Like I said, the painting is actually broken at the moment so I haven't even verified that my strength fix works
wolfmanfx
04-05-2006 08:36:07
Ahh i unterstand
yep i have the sourcecode at the moment i code with my friend a basic leveleditor u can set Objects move them clone them and so on an the result will be written in a xml file first i was using ofusion but cause of the lack of time i had we had to implement our own since last friday
Again to the brushing PLSM2 has one alpha map will my brushing operation change(persistent) the value of this aplhamap and i can see the results immeditly?
tuan kuranes
04-05-2006 14:13:12
Again to the brushing PLSM2 has one alpha map will my brushing operation change(persistent) the value of this aplhamap and i can see the results immeditly?
yes and yes