as i said before xors3D is a nice Graphics/Games engine but its developers abandoned it and escape away, its developers is 2 persons Knightmare and Squid look: http://mojolabs.nz/posts.php?topic=101100
the following is connecting cylinders from a point to another point
i have attached a ready to use source code with dlls and include files, the DLLS i have copied from the bigger package: https://drive.google.com/file/d/0Bzk...?usp=drive_web
the include files for powerbasic is from:
https://forum.powerbasic.com/forum/u...895#post606895
here you find descriptions with picures about the engine feature, it is an archived copy from the lost blitz3D old site:
http://mojolabs.nz/posts.php?topic=106322
here is a Russian site about xors3D: use google translator
http://forum.boolean.name/forumdisplay.php?f=126
***********************************************
before running these codes you need to install Directx 9 directx_Jun2010_redist.exe from microsoft 95 MB http://download.microsoft.com/downlo...010_redist.exe
it will not harm your current DirectX
xors3D_thinbasic: Make a cylinder between any two point:
http://www.mediafire.com/file/u8za43...nders.rar/file
Xors3D_PowerBasic: Make a cylinder between any two point:
http://www.mediafire.com/file/rqtf1v...basic.rar/file
Xors3D_PowerBasic more examples can be found in package xores3d_PowerBASIC.rar here http://www.thinbasic.com/community/s...engine&p=93435 : source code not by me (i forgot from where i have downloaded it years ago) and since the codes needs textures and models from the big package at https://drive.google.com/file/d/0Bzk...?usp=drive_web... mentioned above install it as you prefer
cube.JPGpyramid.JPG
the Logic of moving and rotating the cylinder so it fits between any 2 points can be seen in this picture:
coordinates.png
note that the rotation center of the xors3d cylinder is at its Length center so we have to change its center to one of its sides with xPositionMesh
the files checked by https://www.virustotal.com and it is completely clean 100%
Last edited by primo; 01-09-2018 at 10:17.
Bookmarks