PDA

View Full Version : Make a cylinder between any two points in Xors3D



primo
25-08-2018, 12:04
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/0BzkXGILTmN3JS1ZkTjBzdHo5UHc/view?usp=drive_web
the include files for powerbasic is from:
https://forum.powerbasic.com/forum/user-to-user-discussions/third-party-addons/48366-using-xors3d-in-powerbasic?p=606895#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/download/8/4/A/84A35BF1-DAFE-4AE8-82AF-AD2AE20B6B14/directx_Jun2010_redist.exe
it will not harm your current DirectX

xors3D_thinbasic: Make a cylinder between any two point:
http://www.mediafire.com/file/u8za43ufs8oe44v/xors3D_thinbasic_cylinders.rar/file

Xors3D_PowerBasic: Make a cylinder between any two point:
http://www.mediafire.com/file/rqtf1v9jjaec55f/powerbasic.rar/file

Xors3D_PowerBasic more examples can be found in package xores3d_PowerBASIC.rar here http://www.thinbasic.com/community/showthread.php?12751-Xors3D-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/0BzkXGILTmN3JS1ZkTjBzdHo5UHc/view?usp=drive_web... mentioned above install it as you prefer

98759876

the Logic of moving and rotating the cylinder so it fits between any 2 points can be seen in this picture:
9877

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%