Search found 1125 matches
- Fri Feb 16, 2024 11:21 pm
- Forum: 3D Programming
- Topic: How do I put different textures on the sides of a cube?
- Replies: 9
- Views: 506
Re: How do I put different textures on the sides of a cube?
change MeshVertexTextureCoordinate() if you need to rotate texture for each submesh InitEngine3D() InitSprite() InitKeyboard() ExamineDesktops() OpenScreen(DesktopWidth(0), DesktopHeight(0), DesktopDepth(0), "Cube 3D") Add3DArchive(#PB_Compiler_Home + "examples/3d/Data/Textures",...
- Sun May 14, 2023 9:12 am
- Forum: 3D Programming
- Topic: MousePick() new bug
- Replies: 6
- Views: 1010
Re: MousePick() new bug
Doc say :
Use MouseRayCast()Result = MousePick(#Camera, x, y [, PickMask])
The entity pick is based on its bounding box, not on its mesh.
- Tue Jan 03, 2023 2:27 pm
- Forum: Feature Requests and Wishlists
- Topic: Spline Lib without Engine3D
- Replies: 3
- Views: 377
Re: Spline Lib without Engine3D
yes same code
- Tue Jan 03, 2023 1:36 pm
- Forum: Feature Requests and Wishlists
- Topic: Spline Lib without Engine3D
- Replies: 3
- Views: 377
- Mon Dec 19, 2022 11:27 am
- Forum: 3D Programming
- Topic: Entity Animation
- Replies: 35
- Views: 3565
Re: Entity Animation
use OgreCommandLineTools_1.7.2
to see how it's done with robot.mesh and robot.skeleton
in the tool you will find OgreXMLConverter.exe use it to convert robot.mesh and robot.skeleton in xml files
in robot.mesh you have this line <skeletonlink name="robot.skeleton" />
to see how it's done with robot.mesh and robot.skeleton
in the tool you will find OgreXMLConverter.exe use it to convert robot.mesh and robot.skeleton in xml files
in robot.mesh you have this line <skeletonlink name="robot.skeleton" />
- Tue Dec 06, 2022 6:26 pm
- Forum: 3D Programming
- Topic: Entity Animation
- Replies: 35
- Views: 3565
Re: Entity Animation
you need a .mesh file and a .skeleton file (animation)
- Fri Nov 12, 2021 2:25 pm
- Forum: Coding Questions
- Topic: [Solved] svn doc 6.0 ???
- Replies: 2
- Views: 3403
- Wed Apr 28, 2021 4:30 pm
- Forum: 3D Programming
- Topic: Bug?: Absolute mode for ScaleEntity() for Cylinder does not work
- Replies: 7
- Views: 4910
Re: Bug?: Absolute mode for ScaleEntity() for Cylinder does not work
ScaleEntity(0,x,y,z,#PB_Relative) Scales the entity, combining it's current scale with the passed in scaling factor. @remarks This method applies an extra scaling factor To the entity's existing scale, ( unlike ScaleEntity(0,x,y,z,#PB_Absolute) which overwrites it ) combining it's current scale with...
- Tue Mar 23, 2021 12:47 pm
- Forum: 3D Programming
- Topic: [DONE]Create a ball Dodekaeder OGREE
- Replies: 3
- Views: 3769
- Tue Oct 13, 2020 8:39 pm
- Forum: Bugs - 3D Engine
- Topic: ConvertLocalToWorldPosition and ConvertWorldToLocalPosition
- Replies: 8
- Views: 3229
Re: ConvertLocalToWorldPosition and ConvertWorldToLocalPosit
Fixed for Node.
Camera, mesh and particle should be removed in doc. Use Node instead
Camera, mesh and particle should be removed in doc. Use Node instead
- Mon Mar 11, 2019 9:37 am
- Forum: 3D Programming
- Topic: [Solved]: Get X or Y reference from camera frontal view
- Replies: 10
- Views: 3931
Re: [Solved]: Get X or Y reference from camera frontal view
what is nonsense is to try to answer you.
- Sun Mar 10, 2019 10:49 am
- Forum: 3D Programming
- Topic: [Solved]: Get X or Y reference from camera frontal view
- Replies: 10
- Views: 3931
Re: [Solved]: Get X or Y reference from camera frontal view
Maybe it's better like that Macro getbase() AxisY\x=0:AxisY\y=1:AxisY\z=0 AxisZ\x=CameraDirectionX(Camera2):AxisZ\y=CameraDirectionY(Camera2):AxisZ\z=CameraDirectionZ(Camera2) AxisZ2\x=-AxisZ\x : AxisZ2\y=-AxisZ\y : AxisZ2\z=-AxisZ\z CROSS_PRODUCT(AxisX,AxisY,AxisZ2) CROSS_PRODUCT(AxisY,AxisZ2,AxisX...
- Sat Mar 09, 2019 11:18 am
- Forum: 3D Programming
- Topic: [Solved]: Get X or Y reference from camera frontal view
- Replies: 10
- Views: 3931
Re: Question: Get X or Y reference from camera frontal view
you are disturbed by the debug, it was to control the result of the Qmv() Procedure. Either, I modified my code to highlight the 3 axes. #CameraSpeed = 2 IncludeFile #PB_Compiler_Home + "examples/3d/Screen3DRequester.pb" Define.f KeyX, KeyY, MouseX, MouseY Structure Vector3 x.f y.f z.f End...
- Fri Mar 08, 2019 8:07 pm
- Forum: 3D Programming
- Topic: [Solved]: Get X or Y reference from camera frontal view
- Replies: 10
- Views: 3931
Re: Question: Get X or Y reference from camera frontal view
and answer is :
AxisX = orientation * UnitX
AxisY = orientation * UnitY
AxisZ = orientation * -UnitZ
May be i should write
Vector X = orientation * UnitX
Vector Y = orientation * UnitY
Vector Z = orientation * -UnitZ
AxisX = orientation * UnitX
AxisY = orientation * UnitY
AxisZ = orientation * -UnitZ
May be i should write
Vector X = orientation * UnitX
Vector Y = orientation * UnitY
Vector Z = orientation * -UnitZ
- Fri Mar 08, 2019 6:30 pm
- Forum: 3D Programming
- Topic: [Solved]: Get X or Y reference from camera frontal view
- Replies: 10
- Views: 3931
Re: Question: Get X or Y reference from camera frontal view
AxisX = orientation * UnitX AxisY = orientation * UnitY AxisZ = orientation * -UnitZ #CameraSpeed = 2 IncludeFile #PB_Compiler_Home + "examples/3d/Screen3DRequester.pb" Define.f KeyX, KeyY, MouseX, MouseY Structure Vector3 x.f y.f z.f EndStructure Structure quaternion Extends Vector3 w.f E...