Pedrollane
Eurobricks Vassals-
Posts
23 -
Joined
-
Last visited
Content Type
Profiles
Forums
Gallery
Everything posted by Pedrollane
-
Hey, If you wan isometric camera you can edit scene.sc file and replace camera type pinhole by orthogonal and change fov to adjust zoom
-
New version of LDraw2Sunflow : Basic support of Darats files How to use : Download LGEO Library - Darats on Darats topics Extract archive. Create obj directory near LGEO Parts and STL Parts directory Use Poseray to convert all STL Parts in obj files Download primitives extract archive into obj/primitives directory You need to configure LGEO Darats directory in Ldraw tab Command line You can use command line to change logger level or clear saved preferences LOGGER=FINE -> more log LOGGER=INFO -> default log clearPref -> clear saved preferences I need to go, I hope you can use it with my very short explications
-
@Dilvish I download Datsville, I make some test and I tell you where is the problem. Edit : INFO: Module API : Unable to find a suitable parser for: "D:\Datsville\datsville _sunflow\building_007_firecompany" Sunflow use the file extension to find a parser.You must had .sc to the output file. You can make Orthographic render with Sunflow but by default some parameters (fov, aspect ratio, focus) could not be change. I change this when I have some time. @Nickless Actually you can't configure source light in the application you need to open sc file. You can read bublible tutorial for Bluerender. In the preview direction arrows move the look-at point up down Y axe, left right X axe no Z axis in this version ...
-
I found a solution to read Povray 'for' loops, and imbricated for loops currently I'm able to generate baseplate. I substitute : - 'lg_tech_knob' -> stud2a.dat - 'lg_knob' -> stud.dat @Darats : Do you know if it's possible to convert a Povray prism into triangle ? I use this link to have logo on studs : http://jc-tchang.phi...studlogo_tchang Sunflow scene file 2.1 mo Sunflow scene 40.79 mo with Darats HQ files
-
Darats, I have read your post above. Sorry for the late response, When I read it, I did not know how to do it. I use only your parts not others lgeo parts. I have convert all file in stl dir, to obj format with Poseray. When I parse LDraw model, for each part I look into directory where files start with lg_ In the lg file I search line start with 'object {'and contains partname I read the obj file associate and apply rotate and translate if the are specified. Currently I do nothing else. Binoculars don't have a lg_ file only stl this is why it does not appear.
-
I used a modified version of Bluerender Sunflow version. I have checkout this version : https://bitbucket.or...8967?at=default I made changes in some classes : BoundingIntervalHierarchy ->I've change a 2 lines in subdivide function because of infinite loop some times. SCParser -> I added a noinstance=true where type equals generic-mesh Instance -> I removed return false when matrice determinant is null. AccelerationStructureFactory -> I used UniformGrid in place of BoundingIntervalHierarchy when primitive is null.
-
Thank for your feedback SylvainLS I removed the backslash in PartFinder.checkLDrawDirectory() and check other class it seems ok. Now i'm look for parts in lowercase. Shader version don't need to be 150. I have start with version 330 but is too high for my netbook I change to 150. Now I change to 130 I have find the memory leak on preview OpenGL it work now, there are no more big ugly gray and blue box You can find the last version here
-
I have update Ldraw2Sunflow : When the scene is generated a 3D preview appears, for smaller models. large models only the bounding box appears because I have memory problems.You can use the mouse to turn around the model and the direction arrows to move the camera. When you press ESC or close the window, the last position of the camera is used to generate the Sunflow scene. IPR and Render buttons save the image ldraw official and unofficial parts can be in separate directory. I'm working on Darats' High quality STL files support, for the next version. Examples : Space / Ice Planet 2002 / 6983 - Ice Station Odyssey 42039 - 24 Hours Race Car / Technic
-
You can solve this warning : Go into your Start Menu and type regedit into the search field. Navigate to path HKEY_LOCAL_MACHINE\Software\JavaSoft Right click on the JavaSoft folder and click on New -> Key Name the new Key Prefs and everything should work. Direct link to solution aug 24, 2015 3:26:58 EM com.sunflow.converter.ldrawtosunflow.LdrawConverterMulti2 parseFile SEVERE: Erreur sur la ligne 0.0 -4.0 0.0 aug 24, 2015 3:26:58 EM com.sunflow.converter.ldrawtosunflow.LdrawConverterMulti2 parseFile SEVERE: Erreur sur la ligne triangles 144 For this error, without the file difficult to find
-
I wrote a Java application to convert an LDraw model to Sunflow. Thank you to msx80 for giving me the idea with Blurender Thank Bublible I use some of your metallics materials in my application. It is not complete yet but I have tested on several models without problems. There are still things to optimize and probably bugs. Currently no progress bar, keep an eye on the console to see the progress of the work. Screenshot: Only the "render" button not "ipr" saves the image in the same directory as the stage Sunflow. (not true with the latest version) In the LDraw tab you can set : - LDraw path - Common used texterea is a solution to optimize the final mesh Examples : These models comes from here 3063 - Heartlake Flying Club 30210 - Frodo with cooking corner 30210 - Frodo with cooking corner Download : Version e - here Version d - here Version c - here Version b - here Version a - here