morphobj3DS obj 3ds 3D mesh morphing animation

User projects written in or related to FreeBASIC.
Post Reply
chung
Posts: 648
Joined: Jan 16, 2010 20:52
Location: France
Contact:

morphobj3DS obj 3ds 3D mesh morphing animation

Post by chung »

i have made a free morphobj3DS_chung.dll obj 3ds 3D mesh morphing dll with an openGL walking elephant animation example in freebasic.

=> http://chungswebsite.blogspot.fr/search ... j3ds_chung
chung
Posts: 648
Joined: Jan 16, 2010 20:52
Location: France
Contact:

Re: morphobj3DS obj 3ds 3D mesh morphing animation

Post by chung »

(16/09/2018) added Shadowobj3DS & Shadowobj3DS200 functions to calculate the shadow on flat terrain version of a loaded in memory mesh.

co1,si1,tan2 = direction of the sun

Code: Select all

Function shadowobj3DS Cdecl Alias "shadowobj3DS" (ByVal myobj As myobj_type Ptr,ByVal myobj1 As myobj_type Ptr, _  
	                                               ByVal co1 As Single, _  
	                                               ByVal si1 As Single, _  
	                                               ByVal tan2 As Single, _  
	                                               ByVal dh As single)As Integer export 

Function shadowobj3DS200 Cdecl Alias "shadowobj3DS200" (ByVal myobj As myobj_type200 Ptr,ByVal myobj1 As myobj_type200 Ptr, _  
	                                               ByVal co1 As Single, _  
	                                               ByVal si1 As Single, _  
	                                               ByVal tan2 As Single, _  
	                                               ByVal dh As single)As Integer export   (up to 200k vertices version)


i use it in "seashore3D_chung" to draw fast town mesh and ladies shadows .

http://chungswebsite.blogspot.com/2018/ ... shore.html
Post Reply