Page 2 of 10

Posted: Fri Oct 20, 2006 9:39 am
by Psychophanta
Comtois wrote:@Psychophanta, do you remember this one ? :)
Of course, i do :wink:

Posted: Fri Oct 20, 2006 5:45 pm
by tmyke
Maxus:
And how animate B3D Entity???
For animations, it will be necessary to await Christmas I think…

Posted: Fri Oct 20, 2006 6:08 pm
by Shannara
Any chance on answering the PhysX question?

Posted: Fri Oct 20, 2006 6:57 pm
by tmyke
sorry not to have answered.
There needs to install neither of card nor of drivers, just the module, that's all ( with Dreamotion3D module of course)

Posted: Sat Oct 21, 2006 8:37 am
by Maxus
tmyke wrote:Maxus:
And how animate B3D Entity???
For animations, it will be necessary to await Christmas I think…
Well and about parameters by default???

And I liked this engine.

Posted: Sat Oct 21, 2006 8:41 am
by tmyke
I your question does not understand :(

Posted: Sat Oct 21, 2006 11:03 am
by Maxus
tmyke wrote:I your question does not understand :(
At import of functions from DLL, it is necessary to apply parameters by default.
For example:
At you in a code:

Code: Select all

Import "dreamotion3d.lib"
     DM_LoadEntity.l(filename.s, *parent.CEntity, lod.c)
EndImport
And it is necessary:

Code: Select all

Import "dreamotion3d.lib"
     DM_LoadEntity.l(filename.s, *parent.CEntity=#Null, lod.c=#False)
EndImport
Then it will be possible to use such commands:

Code: Select all

Entity=DM_LoadEntity("MeEntity.b3d")
And now it is necessary to write superfluous parameters:

Code: Select all

Entity=DM_LoadEntity("MeEntity.b3d",#Null,#False)
Now it was clearly expressed???

Posted: Sat Oct 21, 2006 11:45 am
by tmyke
Yes, I understands better what you want to say.

For the moment, it is necessary to enter all the parameters.
But I will update the file “Dreamotion3d.pbi” so that it integrates the default settings.

Posted: Wed Oct 25, 2006 2:41 pm
by Maxus
Please give me Examle shader in Dreamotion3D, for BUMPMAPPING!!!
PLZZZ!!!

Posted: Wed Oct 25, 2006 4:36 pm
by tmyke
In the Package, there are a sample with paralax mapping, if you want.
It's a good example. But there are some probleme with ATI 9XXX serie.

Posted: Fri Oct 27, 2006 8:55 am
by Cyan
tmyke
Comment apprendre les coordonnées DM_CameraPick() sur les modèles?
DM_PickedXYZ() seulement pour la Terrain?
:D

Posted: Fri Oct 27, 2006 9:28 am
by tmyke
DM_PickedXYZ(): yes is only for terrain engine.

In the function DM_CameraPick.l(*camera.CEntity, x.l, y.l), 'x' and 'y' is for exemple MouseX and MouseY
coordinates on the screen. In the MD2 sample in the package, you are these lines:

if MouseButton(#PB_MouseButton_Right)
*mesh = DM_CameraPick(*camera, MouseX(), MouseY())
If *mesh<> Null
DM_TranslateEntity(*mesh, 0.0, 10.0, 0.0)
EndIf
EndIf


this function returns the entity found after a ClickMouse in the screen. If not found an Entity, return #Null.
Also:
DM_PickedEntity.l() : return the last Entity 'picked'
DM_PickedTriangle.l(): return the triangle on the mesh of last Entity picked
DM_PickedDistanc.f(): return distance between position of the observer and last Entity 'picked'

Iif you want the co-ordinates on the model 'picked', the function DM_PickedTriangle()
it's a good alternative.

Posted: Fri Oct 27, 2006 10:59 am
by Cyan
Iif you want the co-ordinates on the model 'picked', the function DM_PickedTriangle()
it's a good alternative.
For example, how to be with a decals if I do'nt know coord's of 'Pick'?
These functions are very necessary, add them please.

Posted: Fri Oct 27, 2006 11:14 am
by tmyke
instruction add like DM_PickedU() and DM_PickedV() ?

Posted: Fri Oct 27, 2006 12:13 pm
by Cyan
instruction add like DM_PickedU() and DM_PickedV() ?
Get of texture coord's? It would be cool!
But
DM_MeshPickedX()
DM_MeshPickedY()
DM_MeshPickedZ()
add like too.
For example - position the particle emiter for various effects (blood, sparks and etc)