AShadow lib - ACopyMesh

Blitz3D Forums/Blitz3D Userlibs/AShadow lib - ACopyMesh

Moraldi(Posted 2008) [#1]
a). Does anyone knows how I can use the ACopyMesh function?
I read in the documentation:
ACopyMesh(dest_entity,parent=0,ShadowMode=1,ShadowRange#=-1, SoftSelfShadingMODE=-1)
Where is the source_entity?

b). I have build a mesh using CreateMesh function (etc.) and I want this mesh to be a receiver. How I can do this?

Thanks!


OJay(Posted 2008) [#2]
a) those A~ functions work exactly like the original blitz3d functions: http://www.blitzbasic.com/b3ddocs/command.php?name=CopyMesh&ref=3d_cat

b) ACreateMesh() maybe? ;)
alternative: CreateReceiver( themesh )

simple enough ;P


Moraldi(Posted 2008) [#3]
You mean after the ACreateMesh function I can add surfaces and vertexes using the Blitz3D built in commands?
I am try to make a bite
http://web.archive.org/web/20040904123547/www.blitzcoder.com/cgi-bin/showcase/showcase_showentry.pl?id=makakoman04012003155225&comments=no
terrain be a shadow receiver...


CodeGit(Posted 2008) [#4]
I could never get AShadow to work with terrains. That is why I dont use it anymore.


miez(Posted 2008) [#5]
Same here ... AShadow has some great features but it is a disaster to combine with Blitz terrains and sprites.


Moraldi(Posted 2008) [#6]
ok,
Here is what I've done so far:
http://www.moraldigames.com/Temp/Test.zip
I use the AShadow with the B.I.T.E. Blitz Infinite Terrain Engine (see link above) and Mesh Factory libs.
Drive the spaceship with the arrow keys.
Press [SPACE] to toggle the auto camera mode ON/OFF. When auto camera mode is off you can rotate the view using the keys in NUM PAD (press NUM5 to reset view)
Move forward/backward [A]/[Z]
Move up/down [S]/[X]

Note: The terrain is infinite. and you only need 3d coordinates to place your stations, ships etc.