What file format works best when using OrgeAssimpconverter?
Re: What file format works best when using Assimpconverter?
The best way is with blender or your cad program, can look for any tutorial in YT. Is not very hard.
The easy way is cube projection depend of the object too.
The easy way is cube projection depend of the object too.
If translation=Error: reply="Sorry, Im Spanish": Endif
Re: What file format works best when using Assimpconverter?
You don't need external programs, you can do it with Blender very easy:
Select the object
Enter edit mode
Select the faces you need to be UVpapped
Push "U" key and chose the unwrap method
That's all, you model have UV
You can adjust and apply textures on the Blender UVEditor.
You can find many tutorials on YouTube.
Select the object
Enter edit mode
Select the faces you need to be UVpapped
Push "U" key and chose the unwrap method
That's all, you model have UV
You can adjust and apply textures on the Blender UVEditor.
You can find many tutorials on YouTube.
Re: What file format works best when using Assimpconverter?
May be this can help you.
https://www.uvmapper.com/tutorials/tuto ... c_win.html
https://www.uvmapper.com/tutorials/tuto ... c_win.html
If translation=Error: reply="Sorry, Im Spanish": Endif
- Distorted Pixel
- Enthusiast

- Posts: 328
- Joined: Sun Aug 29, 2021 4:34 am
Re: What file format works best when using Assimpconverter?
Thank you Caronte3D, I followed the directions above you listed and it worked. Now I have to figure out why my objects are not positioned correctly. That should be easy for me to figure out.Caronte3D wrote: Fri Oct 24, 2025 7:22 pm You don't need external programs, you can do it with Blender very easy:
Select the object
Enter edit mode
Select the faces you need to be UVpapped
Push "U" key and chose the unwrap method
That's all, you model have UV
You can adjust and apply textures on the Blender UVEditor.
You can find many tutorials on YouTube.
Yes, I knew about those tutorials, but the tutorial directions are evidently for an older version of UV Mapper Pro because the menus don't match up with the directions. I did find some, maybe all of the menu options listed in the tutorials somewhere else in the menus.minimy wrote: Sat Oct 25, 2025 2:33 pm May be this can help you.
https://www.uvmapper.com/tutorials/tuto ... c_win.html
The tutorials seem to talk like they are speaking to someone with previous experience with UV Mapping and or using the software. That is probably why I couldn't figure out what they were talking about to some degree.
Again, thank you both for all your help. I have learned a lot
To be popular is way to much work. I just want to be me, myself and I. Oh no, does that mean I'm bipolar? 
No one cares how much you know until they know how much you care
No one cares how much you know until they know how much you care
- Distorted Pixel
- Enthusiast

- Posts: 328
- Joined: Sun Aug 29, 2021 4:34 am
Re: What file format works best when using Assimpconverter?
I am not sure what happened, but I can't get the goal net to show up correctly any more. I keep following Caronte3D's directions and it is back to being messed up again.
To be popular is way to much work. I just want to be me, myself and I. Oh no, does that mean I'm bipolar? 
No one cares how much you know until they know how much you care
No one cares how much you know until they know how much you care
Re: What file format works best when using Assimpconverter?
If you see the net correctly on Blender, the problem maybe on your code.
We can see an image of the result? or even better a minimal code to reproduce the problem?
We can see an image of the result? or even better a minimal code to reproduce the problem?
- Distorted Pixel
- Enthusiast

- Posts: 328
- Joined: Sun Aug 29, 2021 4:34 am
Re: What file format works best when using Assimpconverter?
Yes, I will post an image or 2 for you plus some code. I will edit this post when I get it done in a few minutesCaronte3D wrote: Thu Oct 30, 2025 10:10 am If you see the net correctly on Blender, the problem maybe on your code.
We can see an image of the result? or even better a minimal code to reproduce the problem?
[Edit:]
Note: The first time I was successful with the net in Blender 2.83 I did not get an error, but every time after that I get the following error when trying to export to Orge format in 2.83 and 3.5 newest version:
"There is no suitable exporter to export to .mesh." It only exports the .scene file. Why this happens now, I'm clueless. I have to export to Orge format using fragmotion instead.
Note 2:
The original net that I was succesful with was placed using Blender. I do not have that file anymore. The current net still needs to be placed, but I am concerned that it isn't showing properly.
Blender 3.5 image of net showing correctly:
https://drive.proton.me/urls/4464C0MNS8#nhfk3kG4cMTZ
What it looks like when running the program:
https://drive.proton.me/urls/HGJK2X38V8#zCy5KQJ8IImQ
Project media files: (If any files needed are missing, let me know)
https://drive.proton.me/urls/WF4717431G#6yY6s7Bz3gPt
Current code:
Code: Select all
#MOVEMENT_SPEED = 0.15
#Camera = 1
Global MouseXRotation.f,MouseYRotation.f,KeyX.f,KeyZ.f
InitEngine3D()
InitSprite()
InitKeyboard()
InitMouse()
OpenWindow(0, 0, 0, 1200, 800, "European Football Simulator", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
OpenWindowedScreen(WindowID(0), 0, 0, 1200, 800, 0, 0, #PB_Screen_WaitSynchronization)
Add3DArchive("C:\Users\Brian\Documents\PUREBASIC PROJECTS\3D Programs\3Dfield\Media", #PB_3DArchive_FileSystem)
;Parse3DScripts()
CreateLight(0,RGB(255, 255, 255), 0, 50, -40, #PB_Light_Directional)
; load textures
LoadTexture(0, "fieldCut.png")
LoadTexture(1, "OuterBorderBottomSide.png")
LoadTexture(2, "OutBorderTopSide.png")
LoadTexture(3, "OutBorderRightEnd.png")
LoadTexture(4, "OuterBorderLeftSide.png")
LoadTexture(5, "GoalPosts.png")
LoadTexture(6, "Nets.png")
; create materials
FieldMat = CreateMaterial(0, TextureID(0)) ; pitch (playing field)
FieldBottomBorderMat = CreateMaterial(1, TextureID(1)) ; bottom border
FieldTopBorderMat = CreateMaterial(2,TextureID(2)) ; top border
FieldRightBorderMat = CreateMaterial(3,TextureID(3)) ; right border
FieldLeftBorderMat = CreateMaterial(4, TextureID(4)) ; left border
GoalPostsMat = CreateMaterial(5, TextureID(5)) ; goal posts frame
NetsMat = CreateMaterial(6, TextureID(6)) ; goal net
; load meshes
LoadMesh(0, "Pitch.mesh")
LoadMesh(1, "BottomBorder.mesh")
LoadMesh(2, "TopBorder.mesh")
LoadMesh(3, "RightBorder.mesh")
LoadMesh(4, "LeftBorder.mesh")
LoadMesh(5, "GoalPostsLeft.mesh")
LoadMesh(6, "NetLeft_obj.mesh")
; Result = SubMeshCount(0)
; Debug Result
CreateEntity(0, MeshID(0), FieldMat) ; pitch
CreateEntity(1, MeshID(1), FieldBottomBorderMat) ; bottom border
CreateEntity(2, MeshID(2), FieldTopBorderMat) ; top border
CreateEntity(3, MeshID(3), FieldRightBorderMat) ; right border
CreateEntity(4, MeshID(4), FieldLeftBorderMat) ; left border
CreateEntity(5, MeshID(5), GoalPostsMat) ; left goal posts frame
CreateEntity(6, MeshID(5), GoalPostsMat) ; right goal posts frame
CreateEntity(7, MeshID(6), NetsMat) ; left net used for both left and right
RotateEntity(6, 0, 180, 0, #PB_Absolute) ; right goal posts frame
MoveEntity(5, -50.66, 0, 0, #PB_World) ; left goal posts frame
MoveEntity(6, 50.68, 0, 0, #PB_World) ; right goal posts frame
; create camera
CreateCamera(#Camera, 0, 0, 100, 100)
MoveCamera(#Camera, 0, 50, 110, #PB_Absolute | #PB_Local) ; absolute + local positive Z coordinate moves camera backwards
CameraFOV(#Camera, 45)
CameraRange(#Camera, 1, 220)
CameraLookAt(#Camera, 0, 0, 0)
Repeat
Repeat : event=WindowEvent() : If event = #PB_Event_CloseWindow : End : EndIf :Until Not event
If ExamineMouse()
MouseYRotation = -MouseDeltaX() / 10
MouseXRotation = -MouseDeltaY() / 10
EndIf
RotateCamera(#Camera, MouseXRotation, MouseYRotation, 0, #PB_Relative)
;Update Key Presses and position the Camera accordingly
If ExamineKeyboard()
If KeyboardPushed(#PB_Key_Left) : KeyX = -#MOVEMENT_SPEED : EndIf
If KeyboardPushed(#PB_Key_Right) : KeyX = #MOVEMENT_SPEED : EndIf
If KeyboardPushed(#PB_Key_Up) : KeyZ = -#MOVEMENT_SPEED : EndIf
If KeyboardPushed(#PB_Key_Down) : KeyZ = #MOVEMENT_SPEED : EndIf
If KeyboardPushed(#PB_Key_Escape) : ReleaseMouse(#True) : EndIf
MoveCamera(#Camera, KeyX, 0, KeyZ)
KeyX = 0
KeyZ = 0
EndIf
RenderWorld()
FlipBuffers()
Delay(1)
ForEver
To be popular is way to much work. I just want to be me, myself and I. Oh no, does that mean I'm bipolar? 
No one cares how much you know until they know how much you care
No one cares how much you know until they know how much you care
Re: What file format works best when using Assimpconverter?
Your net is 3D, not image, so your problem is not the UVs but the conversion (corrupted?) of the geometry from the .obj file to the .mesh one.
- Distorted Pixel
- Enthusiast

- Posts: 328
- Joined: Sun Aug 29, 2021 4:34 am
Re: What file format works best when using Assimpconverter?
So, what should I do? I have tried to model a new one multiple times and still the same thing happens except the first time. I have uninstalled, wiped the registry clean and reinstalled Blender to hopefully fix the issue with no success. I will try again now and post back.Caronte3D wrote: Fri Oct 31, 2025 10:29 pm Your net is 3D, not image, so your problem is not the UVs but the conversion (corrupted?) of the geometry from the .obj file to the .mesh one.
The only thing I could think what would corrupt it would be importing another .obj (Goal Posts) with it so I could adjust the net if needed to make sure it fit correctly. After I adjusted the net (if any) I removed the goal posts from the project and then exported the net as .obj because the Orge import/export plugin doesn't work for some reason.
Blender 3.5 version isn't installed, it is a portable version
To be popular is way to much work. I just want to be me, myself and I. Oh no, does that mean I'm bipolar? 
No one cares how much you know until they know how much you care
No one cares how much you know until they know how much you care
Re: What file format works best when using Assimpconverter?
I think the problem maybe the combination of blender version and exporter version.
I haven't used 3D on PB for along time, so don't remember the correct steps. Maybe minimy can help you more because he is on a 3D project right now.
I haven't used 3D on PB for along time, so don't remember the correct steps. Maybe minimy can help you more because he is on a 3D project right now.
- Distorted Pixel
- Enthusiast

- Posts: 328
- Joined: Sun Aug 29, 2021 4:34 am
Re: What file format works best when using Assimpconverter?
I understand, I will except anyone's help.
I uninstalled all versions of Blender and wiped the registry and restarted the computer and reinstalled Blender 2.83.20 and copied/pasted necessary files to install the Orge plugin. I created a new net, then I did the UV step and got a message I have seen before. I pressed "U" key and selected unwrap and got the following message:
https://drive.proton.me/urls/MHWGFRWSAC#HZNVUiIbQVAX
I have not exported the model net yet. I will try that as soon as I post this message and post back the results.
I uninstalled all versions of Blender and wiped the registry and restarted the computer and reinstalled Blender 2.83.20 and copied/pasted necessary files to install the Orge plugin. I created a new net, then I did the UV step and got a message I have seen before. I pressed "U" key and selected unwrap and got the following message:
https://drive.proton.me/urls/MHWGFRWSAC#HZNVUiIbQVAX
I have not exported the model net yet. I will try that as soon as I post this message and post back the results.
To be popular is way to much work. I just want to be me, myself and I. Oh no, does that mean I'm bipolar? 
No one cares how much you know until they know how much you care
No one cares how much you know until they know how much you care
- Distorted Pixel
- Enthusiast

- Posts: 328
- Joined: Sun Aug 29, 2021 4:34 am
Re: What file format works best when using Assimpconverter?
Using 2.83.20 version of Blender, I tried to export to Orge format and got errors, so I exported out to .obj and used fragmotion to export to .mesh and it worked this time.
I only have the above listed version of Blender on my system when I did the above listed stuff.
I only have the above listed version of Blender on my system when I did the above listed stuff.
To be popular is way to much work. I just want to be me, myself and I. Oh no, does that mean I'm bipolar? 
No one cares how much you know until they know how much you care
No one cares how much you know until they know how much you care
Re: What file format works best when using Assimpconverter?
Done!
1. Install Blender 2.79b
https://download.blender.org/release/Blender2.79/
2. Install Blender2Ogre 0.6.0
https://code.google.com/archive/p/blend ... /downloads
Image showing your code result:
https://prnt.sc/MkQhIhRJ002Z
EDIT:
The .mesh is saved with the mesh name in the blender object.
1. Install Blender 2.79b
https://download.blender.org/release/Blender2.79/
2. Install Blender2Ogre 0.6.0
https://code.google.com/archive/p/blend ... /downloads
Image showing your code result:
https://prnt.sc/MkQhIhRJ002Z
EDIT:
The .mesh is saved with the mesh name in the blender object.
Re: What file format works best when using Assimpconverter?
Hello DP and caronte, export transparent objects and solid objects separate. Example: For the goal on the soccer field, one for the sticks and one for the net. I do that, export obj and then convert it with frag or ogreassimpconverter if it doesn't have animation.
I almost never use the.material, I prefer to create the material in PB and apply it to the object.
For simple mesh like football field you can create a plane, for the goal just need 8 vertex, can do this with createMesh( and MeshVertex(x, y, z, u.f, v.f, Color [, NormalX, NormalY, NormalZ]) may be more simple than export object from your cad.
For organic models use blender or other.
I hope this help you. Have nice day!
I almost never use the.material, I prefer to create the material in PB and apply it to the object.
For simple mesh like football field you can create a plane, for the goal just need 8 vertex, can do this with createMesh( and MeshVertex(x, y, z, u.f, v.f, Color [, NormalX, NormalY, NormalZ]) may be more simple than export object from your cad.
For organic models use blender or other.
I hope this help you. Have nice day!
If translation=Error: reply="Sorry, Im Spanish": Endif
- Distorted Pixel
- Enthusiast

- Posts: 328
- Joined: Sun Aug 29, 2021 4:34 am
Re: What file format works best when using Assimpconverter?
Thank you Caronte3D, I will give 2.79 a try for exporting to .meshCaronte3D wrote: Sat Nov 01, 2025 8:12 am Done!![]()
1. Install Blender 2.79b
https://download.blender.org/release/Blender2.79/
2. Install Blender2Ogre 0.6.0
https://code.google.com/archive/p/blend ... /downloads
Image showing your code result:
https://prnt.sc/MkQhIhRJ002Z
EDIT:
The .mesh is saved with the mesh name in the blender object.
To be popular is way to much work. I just want to be me, myself and I. Oh no, does that mean I'm bipolar? 
No one cares how much you know until they know how much you care
No one cares how much you know until they know how much you care
