Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Help with CopperCube
is anyone work on mesh exporter?

samgrady
Registered User
Quote
2022-12-14 21:00:53

coppercube creating file in line so i write compiler (in processing p5) for obj from my own format, but most terrible problem i got now is how cc saves texture coordinates, i can't find correct way to save them. And i cant start my compiller with system("start ./way to compiler exe").
Compiller just start, load data form file, write it in obj and exit, all this take less then one second thats why i wish to start it on export, but i cant use it from my coppercube project, and after saving mesh in my program i need open compiller by myself this sh*t annoying me.


sven
Registered User
Quote
2022-12-14 22:07:29

I used system command to run my 3d room maker .obj exporter this way..

system("ExportToObj.exe OBJ");

because my program is multipurpose then it takes arguments..
so OBJ is argument that it takes when launched.

If no arguments then you should just use ..
system("ExportToObj.exe");


https://en.wikipedia.org/wiki/Wa...


samgrady
Registered User
Quote
2022-12-15 00:27:34

sven i try all but nothing is work...


samgrady
Registered User
Quote
2022-12-15 00:58:22

but anyway i done with export and got only one small problem, imported mesh has mirrored rotation by y axis


samgrady
Registered User
Quote
2022-12-15 01:06:03

🔎︎




sven
Registered User
Quote
2022-12-15 11:23:38

wrote:
🔎︎



Mirror look may happen also if texture coords are swapped.
If you look your cubes in wireframe mode then you can tell.

As i see your front coords are same but top coords are mirrored.


samgrady
Registered User
Quote
2022-12-15 18:07:31

no it's all work well, model just exported in mirrored y rotation
🔎︎



samgrady
Registered User
Quote
2022-12-15 18:29:50

but compiler still not start... once blinking black command line and i can't see what wrote in ( im sad cuz all time has to open compiler, i will kill myself)


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Interna?ional" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact