Jump to content

roland

Eurobricks Citizen
  • Posts

    372
  • Joined

  • Last visited

Everything posted by roland

  1. I don't have the old AIOI files, but you can get the (very) old lpub here: https://sourceforge.net/projects/lpub4/files/?source=navbar
  2. I've finally finished rendering the 8852 animation in POV-Ray https://youtu.be/ZeUtxgQp_7g It took 30 hours which I let running on the background now and then, hence the two month delay.
  3. LDU is the LDraw unit which is setup so bricks/plates use integer coordinates in relation to their real life measurements. 8LDU == plate height, 20LDU is distance between 2 studs, 20LDU == ~8mm I corrected the 212 scooter minifig arms using LDCad's snapping (wanted to check the snap info on them :) ), you can probably use it as a reference for the other models: 1 0 40 -72 -10 1 0 0 0 1 0 0 0 1 3004.dat 1 4 40 -40 -50 1 0 0 0 1 0 0 0 1 3004.dat 1 4 40 -96 -30 1 0 0 0 1 0 0 0 1 3004.dat 1 1 40 -120 20 1 0 0 0 1 0 0 0 1 3003.dat 1 0 40 -40 -20 1 0 0 0 1 0 0 0 1 3137c01.dat 1 0 40 -96 10 0 0 1 0 1 0 -1 0 0 3002.dat 1 4 40 -40 30 0 0 1 0 1 0 -1 0 0 3002.dat 1 4 40 -48 -50 1 0 0 0 1 0 0 0 1 3023.dat 1 4 40 -128 -30 1 0 0 0 1 0 0 0 1 3183.dat 1 4 40 -48 40 0 0 -1 0 1 0 1 0 0 3034.dat 1 1 50 -96 80 0 0 -1 0 1 0 1 0 0 3039.dat 1 1 30 -96 80 0 0 1 0 1 0 -1 0 0 3039.dat 1 4 40 -72 -30 1 0 0 0 1 0 0 0 1 3039.dat 1 4 30 -72 90 -1 0 0 0 1 0 0 0 -1 3045.dat 1 4 30 -72 50 0 0 1 0 1 0 -1 0 0 3038.dat 1 4 50 -72 50 0 0 -1 0 1 0 1 0 0 3038.dat 1 0 70 -18 -20 1 0 0 0 1 0 0 0 1 3139.dat 1 1 10 -122 20 1 0 0 0 0 -1 0 1 0 3612.dat 1 1 10 -110 20 1 0 0 0 0 -1 0 1 0 3613.dat 1 14 6 -71 20 0 1 0 0 0 1 1 0 0 3614.dat 1 1 70 -122 20 1 0 0 0 0 -1 0 1 0 3612.dat 1 1 70 -110 20 1 0 0 0 0 -1 0 1 0 3613.dat 1 14 74 -71 20 0 -1 0 0 0 1 -1 0 0 3614.dat 1 14 40 -144 20 1 0 0 0 1 0 0 0 1 685p01.dat 1 1 20 -134 20 0 0 -1 -1 0 0 0 1 0 795.dat 1 1 60 -134 20 0 0 1 1 0 0 0 1 0 795.dat 1 1 40 -144 20 0 0 -1 0 1 0 1 0 0 793.dat 1 1 40 -144 20 0 0 -1 0 1 0 1 0 0 792.dat 1 15 10 -110 80 1 0 0 0 1 0 0 0 1 3613.dat 1 14 6 -110 41 0 1 0 1 0 0 0 0 -1 3614.dat 1 15 70 -110 80 1 0 0 0 1 0 0 0 1 3613.dat 1 14 74 -110 41 0 -1 0 -1 0 0 0 0 -1 3614.dat 1 14 40 -120 80 1 0 0 0 1 0 0 0 1 685p01.dat 1 15 20 -110 80 0 0 -1 0 1 0 1 0 0 795.dat 1 15 60 -110 80 0 0 1 0 1 0 -1 0 0 795.dat 1 15 40 -120 80 0 0 -1 0 1 0 1 0 0 793.dat 1 15 40 -120 80 0 0 -1 0 1 0 1 0 0 792.dat 1 4 40 -120 -30 1 0 0 0 1 0 0 0 1 3004.dat 1 4 50 -72 90 0 0 -1 0 1 0 1 0 0 3045.dat 1 14 40 -96 50 1 0 0 0 1 0 0 0 1 3004.dat 1 0 10 -18 -20 1 0 0 0 1 0 0 0 1 3139.dat 1 0 40 -40 80 1 0 0 0 1 0 0 0 1 3137c01.dat 1 0 70 -18 80 1 0 0 0 1 0 0 0 1 3139.dat 1 0 10 -18 80 1 0 0 0 1 0 0 0 1 3139.dat 1 4 40 -40 110 1 0 0 0 1 0 0 0 1 3004.dat
  4. LDD can export to LDraw, you just need to use the most recent ldraw.xml file as found here: http://www.eurobricks.com/forum/index.php?/forums/topic/137193-more-up-to-date-ldrawxml-lddldraw-conversion-file/ It still might need some corrections afterwards though. Once you have a model corrected in LDraw you can 'sprinkle' it with stepping and LPub metas so LPub(3D) can generate a PDF out of it. Depending on the model just adding steps alone could be enough for some nice looking basic instructions. As for OpenGL, LPub needs that (through LDView) for generating the 3D images. So LPub itself doesn't care about the version. LDView does, but I believe 3.1 is high enough a version for it to run comfortably. My own LDCad should work on OpenGL as low as 1.1 but it prefers to use 3.0 so you should be ok.
  5. Here's the little test I made for the other thread: mian.gui [colors] bevel0=0.6 0.6 0.6 bevel1=0.7 0.7 0.7 bevel2=0.3 0.3 0.3 bevel3=0.9 0.9 0.9 xAxis=1 0 0 yAxis=0 1 0 zAxis=0 0 1 statusBarBG=0.3 0.3 0.3 statusBarText=1 1 1 menuBar_BG=0.3 0.3 0.3 menuBar_itemTextFG=1 1 1 menuBar_itemHot=0.1 0.9 0.1 menuBar_splitter=0.6 0.6 0.6 menuBar_btnSepLine=0.5 0.5 0.5 menu_BG=0.3 0.3 0.3 menu_capBG=0.5 0.5 0.5 menu_capText=1 1 1 menu_border=1 1 1 menu_itemTextNor=1 1 1 menu_itemTextDis=0.75 0.75 0.75 menu_itemTextCur=1 1 0 menu_itemTextHotKey=0 1 0 menu_hot=0.1 0.9 0.1 menu_sepLine=0.75 0.75 0.75 menu_sepText=0 1 1 menu_scrollBarBG=0.439216 0.572549 0.745098 menu_scrollBarBtn=0.2 0.3 0.5 menu_scrollBarBtnBorder=0.7 0.7 0.7 menuGetStarted_BG=0.3 0.3 0.3 menuGetStarted_border=1 1 1 menuGetStarted_hotItem=0.1 0.9 0.1 menuGetStarted_capText=1 1 0.2 menuGetStarted_recCapText=1 1 0.2 menuGetStarted_itemText=1 1 1 LDraw_altRenObjLoading=0 0 1 LDraw_altRenObjPrepping=0 1 0 LDraw_altRenObjPrepFail=1 1 0 LDraw_altRenObjLoadFail=1 0 0 LDraw_altRenObjMissing=1 0 0 snap_static=1 1 1 snap_cylMaleRing=0 0 0.75 snap_cylFemaleRing=0.75 0 0 snap_cylMaleBody=0 0 1 snap_cylFemaleBody=1 0 0 snap_cylLockBody=1 1 0 snap_clipRing=1 0 0 snap_clipBody=0.75 0 0 snap_fgrRing=1 1 0 snap_fgrBody=0.75 0.75 0 snap_genMaleBody=0 0 1 snap_genFemaleBody=1 0 0 LDrawHL_default=0.75 0.75 0.75 ldrawHL_geoPrefix=0.75 0.75 0.75 LDrawHL_hidden=0.65 0.65 0.65 LDrawHL_lineType=1 1 1 LDrawHL_colNr=0 1 1 LDrawHL_pos=0 1 0 LDrawHL_ori=1 1 0 LDrawHL_vecX=1 0 0 LDrawHL_vecY=0 1 0 LDrawHL_vecZ=0 0 1 LDrawHL_str=1 1 1 LDrawHL_metaKW=1 1 0 LDrawHL_metaText=0.75 0.75 0.75 LDrawHL_metaComment=0.75 0.75 0.75 LDrawHL_metaParam=0.75 0.75 0.75 LDrawHL_metaValue=1 1 1 LDrawHL_step=0 0 1 LDrawHL_LDCad=0 1 0 LDrawHL_LDCad2ndKW=0 1 1 LDrawHL_LDCadParams=1 1 1 LDrawHL_LDCadShadow=1 1 0 marker_frameStat=0.4 0 0.4 marker_frameTemp=0 0.4 0.4 marker_xScale=0.8 0 0 marker_yScale=0 0.8 0 marker_zScale=0 0 0.8 marker_xScaleAll=0.6 0 0 marker_yScaleAll=0 0.6 0 marker_zScaleAll=0 0 0.6 pathPoint_ctrlLine=1 1 1 pathPoint_ctrlPntHot=1 1 1 pathPoint_ctrlPntPrv=1 0.5 0.5 pathPoint_ctrlPntNxt=0.5 1 0.5 pathPoint_ctrlPntCir=1 1 0.5 pathAnchor_crossNor=1 1 0 springPoint_crossNor=0 1 0 springAnchor_crossNor=1 1 0 dockWin_Frame=1 1 1 dockWinCap_BG=0.5 0.5 0.5 dockWinCap_Details=0.9 0.9 0.9 dockWinCap_CloseBtn=0.9 0.9 0.9 dockWinCap_CloseBtnHot=1 1 0 colorBin_BG=0.3 0.3 0.3 colorBin_disabledTabLines=0.6 0.6 0.6 colorBin_mainLines=1 1 1 colorBin_grpBorder=1 1 1 colorBin_hisBarLines=1 1 1 colorBin_btnHot=0 1 0 colorBin_groupCaption=1 1 1 colorBin_hotViewGroupCaption=0 1 0 colorBin_hotMatCaption=0 1 0 colorBin_workMatCaption=1 1 1 colorBin_viewCapCur=1 1 1 colorBin_viewCapHot=0 1 0 colorBin_viewCapDis=0.6 0.6 0.6 colorBin_menuItem=1 1 1 colorBin_menuScrollBarBG=0.439216 0.572549 0.745098 colorBin_menuScrollBarBtn=0.2 0.3 0.5 colorBin_menuScrollBarBtnBorder=0.7 0.7 0.7 colorBin_matWheelHot=1 1 1 colorBin_matWheelSegBG=0.54902 0.627451 0.901961 colorBin_matGroupPageInfo=1 1 1 partBin_BG=0.3 0.3 0.3 partBin_disabledTabLines=0.6 0.6 0.6 partBin_mainLines=1 1 1 partBin_cellLines=0.75 0.75 0.75 partBin_scrollBarBG=0.4 0.4 0.4 partBin_scrollBarBtn=0.2 0.2 0.2 partBin_scrollBarBtnBorder=0.7 0.7 0.7 partBin_itemSel=0 1 0 partBin_itemHot=0 1 0 partBin_btnHot=0 1 0 partBin_groupCaption=1 1 1 partBin_hotViewGroupCaption=0 1 0 partBin_viewCapCur=1 1 1 partBin_viewCapHot=0 1 0 partBin_viewCapDis=0.6 0.6 0.6 partBin_displayFilterText=0.8 0.8 0.8 partBin_partCnt=1 1 1 partBin_unOffItem=1 1 0.5 partBin_unOffMPDItem=0.5 1 0.5 sourceWin_BG=0.3 0.3 0.3 sourceWin_mainLines=1 1 1 sourceWin_scrollBarBG=0.439216 0.572549 0.745098 sourceWin_scrollBarBtn=0.2 0.3 0.5 sourceWin_scrollBarBtnBorder=0.7 0.7 0.7 sourceWin_itemHot=0 1 0 sourceWin_itemHotNonSel=1 0 0 sourceWin_itemSel=0 1 1 0.35 sourceWin_insPosLine=0 1 0 sourceWin_curStepBG=0.25 0.4 0.6 editor_BG=0.4 0.4 0.4 editor_partHot=1 0 1 editor_partSel=0 1 1 editor_partSel2DBorder=1 1 1 editor_gridSmallStep=0.3 0.3 0.3 editor_gridLargeStep=0.5 0.5 0.5 editor_gridMousePos=1 1 1 editor_compassGridAbs=0.7 0.7 0.7 editor_compassGridRel=1 0.5 0.25 editor_compassZoomedBG=0.3 0.3 0.3 0.75 editor_compassZoomedBorder=1 1 1 editor_compassPlaneSelNor=0.8 0.8 0.8 editor_compassPlaneSelCur=0 0.7 0 editor_compassPlaneSelHot=0 0.7 0 editor_compassMoveBtnNor=0.8 0.8 0.8 editor_compassMoveBtnHot=0 0.7 0 editor_compassItemHotRect=1 1 1 editor_compassRotateStepInfoText=1 1 0 editor_compassOptionNegCap=0.9 0 0 editor_compassOptionPosCap=0 0.9 0 editor_compassRotCtrlCap=0.937255 0.894118 0.690196 editor_compassPrjModeCap=1 1 1 editor_compassKbModeCap=0 1 1 editor_compassOrthoCubeNor=1 1 1 editor_compassOrthoCubeCur=0.75 0.75 0 editor_pinLine=1 1 1 editor_pinBtnBar=1 1 1 editor_pinBtnCur=0.7 0.7 0.7 editor_pinBtnHot=0.6 0.6 0 editor_pinCenHot=0.8 0.8 0 editor_pinRotateWheelSegA=0.2 0.298039 0.501961 editor_pinRotateWheelSegB=0.282353 0.419608 0.709804 editor_pinRotateWheelLine=1 1 0 editor_pinRotateWheelLineHot=1 1 0 editor_pinMoveArrows=0.2 0.298039 0.501961 editor_pinCenMoveArrows=0.282353 0.419608 0.709804 editor_pinMoveLineHot=1 1 0 editor_rectFrameNor=0 1 1 editor_rectFrameHot=1 0 1 editor_rectRotateBtnHot=0 0.6 0.6 editor_rectRotatePie=0 0.6 0.6 editor_rectSelCen=0.8 0.8 0.8 editor_rectSelCenFrameNor=0.6 0.6 0.6 editor_rectSelCenFrameHot=1 0 1 editor_sesPanelTabCur=1 1 1 editor_sesPanelTabNor=0.8 0.8 0.8 editor_sesPanelTabCapCur=1 1 0 editor_sesPanelTabCapNor=0.8 0.8 0.8 editor_sesPanelTabCapDis=0.5 0.5 0.5 editor_sesPanelOptOn=0 1 0 editor_sesPanelOptOff=1 0 0 editor_sesPanelOptTxt=1 1 1 editor_sesPanelCur=0.95 0.95 0.95 editor_sesPanelLayer=0.95 0.95 0.95 editor_infoPanelBG=0.3 0.3 0.3 0.75 editor_infoPanelBorder=1 1 1 editor_infoPanelHot=0.1 0.9 0.1 editor_infoPanelText=1 1 1 editor_selInfoLine=1 1 1 editor_selInfoAngText=1 1 0 editor_selInfoTriAngText1=0 1 0 editor_selInfoTriAngText2=1 0 0 editor_selInfoLenText=0 1 1 editor_aniPanelTrackBarBG=0.7 0.7 0.7 editor_aniPanelTrackBarInt=0.1 0.7 0.1 editor_aniPanelTrackBarBtn=1 1 1 editor_aniPanelBtnNor=1 1 1 editor_aniPanelBtnAct=0 1 0 editor_aniPanelBtnHot=1 0 0 editor_aniPanelTrackBarPos=1 1 1 editor_exportFrame=1 0.5 0.13 [fonts] startMenu_cap=Ubuntu-R,32 startMenu_recentCap=Ubuntu-R,20 startMenu_recentItem=Ubuntu-R,18 menu_capS1=Ubuntu-R,20 menu_capS2=Ubuntu-R,16 menu_itemS1=Ubuntu-R,16 menu_itemS2=Ubuntu-R,12 menu_sepCapS1=Ubuntu-R,12 menu_sepCapS2=Ubuntu-R,10 menuBar_item=Ubuntu-R,18 bin_viewNr=Ubuntu-R,18 bin_viewCap=Ubuntu-R,16 colorBin_menuItemCap=Ubuntu-R,16 colorBin_pageInfo=Ubuntu-R,10 partBin_search=Ubuntu-R,16 partBin_syncMsg=Ubuntu-R,16 partBin_partCntS1=Ubuntu-R,16 partBin_partCntS2=Ubuntu-R,10 partBin_itemKindS1=Ubuntu-R,16 partBin_itemKindS2=Ubuntu-R,10 guiLabel_defCap=Ubuntu-R,18 guiLabel_insNestSFCap=Ubuntu-R,14 editSesPanel_tabCap=Ubuntu-R,14 editSesPanel_opt=Ubuntu-R,14 editSesPanel_cur=Ubuntu-R,14 compass_text=Ubuntu-R,18 angleInfoPanel_text=Ubuntu-R,18 selInfoPanel_text=Ubuntu-R,18 partInfoPanel_textS1=UbuntuMono-R,18 partInfoPanel_textS2=UbuntuMono-R,14 partInfoPanel_textS3=UbuntuMono-R,10 docInfoPanel_cap=Ubuntu-R,18 docInfoPanel_text=Ubuntu-R,14 animationPanel_pos=Ubuntu-R,18 sourceWin_text=UbuntuMono-R,12 Actually the status bar is the only thing not rendered by OpenGL, so its font is OS dependent and it's size is hardcoded to use the whole height.
  6. Those crosses are 'texture failed to load' indications, are you sure the program can find/load the font file, it should report problems in the log file. If you want we could try some things using eurobricks PM as this is off topic for this thread. Edit: It works for me on kubuntu, but you have to use the full font name without the extension (e.g. "Ubuntu-R") Edit: how's this? http://www.melkert.net/test/greyLnx.png
  7. Did you run the setup script? if so ~/LDCad must be writable otherwise the place wherever the executable is must be writable. There is no file/quit, the os app control stuff hotkeys (e.g. ALT+F4 on windows) and the main window cross can already close the program. You can copy gui/default and then edit that copy. see also: http://www.melkert.net/LDCad/tech/gui You can choose which subfolder to use in prefs/gui/gui template
  8. Personally I never understood the need for lpub (and some other tools) to include their own version of a LDraw library while the whole point of LDraw is the sharable library.
  9. It's the other way around the old one is negative, still would like to know how that happened though.
  10. Yes Indeed I tried some weird multiple rotation angles before mirroring and it still give identity afterwards when multiplied with its transposed self like you showed earlier in the tread. It did notice though when you do that after a save reload from disk (3 digits) it gives 1 0 0 0 1 0 0 0 1.001 where the unsaved state did exact;y 1 0 0 0 1 0 0 0 1 (I used ldcad's own scripting env to calculate stuff). And this is a single layer 'flat' model so a mpd using sub sub sub models could cause a noticeable drift in precision quit easily imho.
  11. This is what the mirror function does (shortened) orientation (3x3) wise: newRefMatrix = scaleOneSymAxisNeg * orgRefMatrix * scaleMirrorAxisNeg Where scaleOneSymAxisNeg usually is the x-axis as most LDraw parts are symmetrical in the x dimension. Afterwards it does the mirroring on the positional part separately. I'm no matirx math expert but as far I know this shouldn't cause skewing or a negative determinants as in the end it basically only flips two axis signs' edit: Is the original MPD available for me to test with?
  12. The main rounding problem in LDraw is usually caused by the decimal count used for matrices, (0.707 instead of 0.707106 etc) this combined with multiple nesting levels can result in these kinds of problems. LDCad uses double precision internally but if those read numbers are rounded all bets are off.
  13. LDCad's mirror function only flips 2 axis' around so I don't think its the cause, are the source bricks orthogonal? This could be a accumulative rounding problem,
  14. You can also just delete main.cfg while LDCad is closed, it will then ask for the library location at next start. If does so by opening a directory browsing window which you need to point to the folder containing the p and parts subfolders or the main folder containing complete.zip as it can also use it without unpacking. I don't know if the packed file Leocad uses is a plain zip file, if so you could symlink it to complete.zip and use that. But I would advise to use the latest LDraw.org complete.zip for both programs.
  15. Unless it is something like 80.0001 or 79.9999, those really annoy me :)
  16. Even if you don't like / want to use LDCad you can still (only) use it to render your models (it has opengl2png and POV-Ray export) for uploading to this thread as LDraw itself is an open standard.
  17. Very nice Non technic animations can be fun too, especially if it displays some sort of a story. Problem/challenge is working out the timing of sequences on the longer ones though.
  18. @Duq glad it's working now. The path bin is indeed for making custom stuff from scratch instead of using existing templates. I did setup the program to be used with full sized keyboards and a mouse in mind. As of version 1.6 you can change all hotkeys and or assign keys to things currently not having one to compensate. Some hotkeys are context sensitive, like editing keys onyl work while the mouse is inside the ediing window. Or the arrows depending on the orientation and mode of the editing pin etc. You can however clear those (editing pin) bindings and assign global x,y,z movement / rotation ones instead if you like the MLCad behavior better.
  19. I'm 99% certain this is all due to no or buggy display list support by the dominant OpenGL driver, if this is the Intel one it could explain things as the older Inter drivers are not as good as those from NVIdia and AMD. So you might need to disable the intel chip in the bios to make sure the windows desktop (and thus LDCad) uses the nvidia chip. Other from that I'm also kinda out of ideas, any suggestions from people using similar laptops chip setups? LDCad 2.0 will no longer use display lists, but it will take quite some time before that version is usable.
  20. Are you sure you are using the most recent driver for that card as 3.0 sounds low (most drivers are at 4.x) Did you get the driver here (lists a 2017 version for that 540m): http://www.nvidia.com/Download/index.aspx?lang=en-us or from ASUS, fi you did the one try the other.
  21. Reinstalling will not fix that, It seems your OpenGL driver has problems using Display Lists. Very similar to when you run LDCad.exe in wine on a MAC. For the mac situation I added an option to 'force' the OpenGL driver to try use a lower context version as on mac's the default context doesn't support display lists at all. You could try that option, for this open %appdata%\LDCad\config\main.cfg while the program is closed. And look for a line: reqVersion=0.0 change it into reqVersion=3.0 Tech background if you want to know :) OpenGL >3.1 no longer officially supports display lists, so drivers are free to ignore those commands (hence the missing gui). This option tries to force the driver to use a OpenGL 3.0 environment in which display lists are still part of the spec. But the driver might ignore this if it's a lazy one :(
  22. To be honest I have no clue, as this is something noone else has reported, also the nested mode state is completely different programming code form the gui buttons etc. The only thing I can think of is a OpenGL driver problem, are you using the latest drivers for you card? Without nested mode this is hard to do, you'll have to go to the string's own subfile and add control points to the string's path. Similar to using LSynth in MLCad except the string.
  23. Have you tried playing with the radiosity settings (recursion limit etc)? Or try use the default settings: #include "rad_def.inc" global_settings { radiosity { Rad_Settings(Radiosity_OutdoorLQ, off, off) } }
  24. I actually have been thinking about this and was planning to add some sort of (scripted) interaction in 1.7 but the current rendering engine is not really suited for it (Z-Fighting problems, no frustum culling etc). Technically you could do a walk-trough using animation script, but you would need to enter the static camera movements by supplying numbers. And depending on the size of the model the resulting animation might have a very low fps unless you export it to png's or POV-Ray. For this reason and some others I started working on a whole new LDraw rendering engine whom might be able to do real time game like things much better. This project might result in LDCad 2.0 or a viewer only not sure about that.
×
×
  • Create New...