Saving multiple ?
All  1-9  10-13

Previous
Next
 From:  Michael Gibson
9105.10 In reply to 9105.9 
Hi Pilou, for saving to .3dm format go to line #42 where it is appending the .obj file extension:
code:
        var filename = g_dirname + name + '.obj';


And change it to append a .3dm file extension instead:

code:
        var filename = g_dirname + name + '.3dm';


- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
9105.11 
Excellent!

Ps Must I do relaunch Moi when I edit and save the js file ?
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
9105.12 In reply to 9105.11 
Hi Pilou,

> Ps Must I do relaunch Moi when I edit and save the js file ?

Yes, unless you have set DisableFileCaching=y as described here:
http://moi3d.com/forum/index.php?webtag=MOI&msg=6727.2


- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Frenchy Pilou (PILOU)
9105.13 In reply to 9105.12 
Many thanks : all is clear after this ultima trick! :)

All that for 2 things! :)

1- Can make multiple Drag & Drop multiple of objects separated inside the marvelous free render of MagicaVoxel! :)

2 - Have a best precision in the crazzy MagicaVoxel who accepts by Drag & Drop objects OBJ but only in a maxi matrix 126 * 126 *126 !

So a drastic reduction of the original object!

So we must make some tricky spliting objects :) http://moi3d.com/forum/index.php?webtag=MOI&msg=9096.2


In theory we can have 16*16*16 so 4096 matrix of 126 *126 *126 (something like 8 billions of cubes) so a little more precision! :)

more the object is big more the precision increase! (if all parts are put in several matrix! :)


In theory we can have 16*16*16 so 4096 matrix of 126 *126 *126 so a little more precision! :)

Here 2 Moi objects destroyed (Cylinder + Half Sphere) & a Cone with a very low resolution in a little matrix 34 * 52 * 39 !




Exactly the same object from another point of view and a fisheyes effect of 220° !

EDITED: 21 Oct 2018 by PILOU

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
 
Show messages: All  1-9  10-13