Jump to content

Pedrollane

Eurobricks Vassals
  • Posts

    23
  • Joined

  • Last visited

Everything posted by Pedrollane

  1. 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
  2. Sorry, actually I'm busy but thre is a solution. If you use the button "Convert to SC file" application does not launch the rendering. It's always possible edit generated SC file remove all before # START Ldraw color and all from camera. @msx80 I publish my code when I have more time :)
  3. @Dilvish The only documentation on Sunflow is the old wiki dump I have fixed bugs color on doors and barrier You can download the new version here
  4. I have udpate the last version you can redownload here. -Extract archive and move into the lib directory If you use a JDK : JDK_PATH\bin\java -Xmx1G -server -jar sunflow.jar If you use a JRE JDK_PATH\bin\java -Xmx1G -jar sunflow.jar -server option is faster than default -client
  5. 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
  6. @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 ...
  7. Darats do you know if I need to add a rotation step to your primitives ? I post some pictures of my work tomorrow
  8. I start to integrate them but I haven't a lot of time currently.
  9. I'm very interresting by .obj files for this LGEO primitives : lg_studs lg_tech_studs lg_tech_studs_logo lg_column lg_plate_column lg_cylinder lg_plate_cylinder Can you create them Darats ?
  10. 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
  11. When I'm a little more advanced. I will publish all my sources under a free license.
  12. 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.
  13. Two pictures First without Darats parts : Second with Darats parts (and no binoculars I don't know where they are) : Look arms, hands, shovel, motor grid. it's not yet available but soon
  14. 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.
  15. 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
  16. 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
  17. 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
  18. No need more jar, all is in the package. Can you send me the file ?
  19. I fixed a bug on the pattern display. Before After You can download the new version here
  20. 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
×
×
  • Create New...