To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / *13436 (-20)
  Re: LDGlite and LPub
 
(...) I thank you for the complement, but in this particular instance, I have to give credit where credit it is due. I'm sure I could have derived the above equation on my own, but here is the actual comment out of LDView that I got the above from: (...) (20 years ago, 26-Oct-04, to lugnet.cad.dev)
 
  Re: LDGlite and LPub
 
(...) See, this is why ldview is so much better. I'm still trying to absorb the first post and you whip out the math. Ok, apparently I knew about the horizontal/vertical bit at one point because the code to print an l3p command line contains this (...) (20 years ago, 26-Oct-04, to lugnet.cad.dev)
 
  Re: LDGlite and LPub
 
(...) In case you don't want to think about the math, here it is: vfov = 2*atan(tan(hfov/2)/(...h/height)) --Travis (20 years ago, 25-Oct-04, to lugnet.cad.dev)
 
  Re: LDGlite and LPub
 
(...) Please note that L3P's field of view is the horizontal field of view, and OpenGL's is the vertical field of view. You have to convert if you want the same result. You can check real quick by doing a square image in each. If they look the same, (...) (20 years ago, 25-Oct-04, to lugnet.cad.dev)
 
  Re: LDGlite and LPub
 
(...) <snip> (...) Ooooohhhhh. Thanks for that one..... that will make my code smaller. (...) Kevin (20 years ago, 25-Oct-04, to lugnet.cad.dev)
 
  Re: LDGlite and LPub
 
(...) Yeah, me too, but opengl requires it. I didn't make them automatic because the ldlite parser draws as it parses, so it doesn't have access to the bounding box of the model. I'll fix it for the l3 parser to default the clipping planes just (...) (20 years ago, 25-Oct-04, to lugnet.cad.dev)
 
  Re: LDGlite and LPub
 
(...) I just wasn't sure what to do with -z and -Z. LPub has to manage ROTSTEPS and such, so it pre-rotates the model into the desired view angle. It also centers the model in the process. The default value of -z10 clips the front of the car off. (...) (20 years ago, 25-Oct-04, to lugnet.cad.dev)
 
  Re: LDGlite and LPub
 
(...) I can live with -ms, but would prefer to have -mS working also. I'm not sure if the rapid popping up and down of the window will cause palpatations. (...) Thanks again, Kevin (20 years ago, 25-Oct-04, to lugnet.cad.dev)
 
  Re: LDGlite and LPub
 
(...) Yeah, that 60000 number plays havoc with a bunch of things. You get a lot of z-bleeding because the clipping planes are spread so far apart. Maybe I get less depth bits on the offscreen buffer. Gotta check. And I suppose I should borrow the (...) (20 years ago, 25-Oct-04, to lugnet.cad.dev)
 
  Re: LDGlite and LPub
 
(...) <snip> (...) Hi Don, Thanks for the help. I was able to make -mS work, but only if I backed way off on the 60000 number. By the time LPub presents the car model to ldglite to render, LPub has alrealy applied ROTSTEP to the model, assuming the (...) (20 years ago, 25-Oct-04, to lugnet.cad.dev)
 
  Re: LDGlite and LPub
 
(...) Ok, now we're getting closer to the problem, I think. The ldglite image is blank, so I changed a few things to see what's up. I switched -mS to -ms so I could see it on screen and got a car facing forward. Does the offscreen windows rendering (...) (20 years ago, 25-Oct-04, to lugnet.cad.dev)
 
  Re: LDGlite and LPub
 
(...) Don, Thanks for the help. I run L3P like this: set PATH=C:\LDRAW; set LDRAWDIR=C:\LDRAW l3p.exe -stdout -ca1.000000 -cg30.000000,45.0000...000.000000 -q2 -b0x02ffffff -o LDraw\CAR.DAT POV\CAR.pov and I get this result rendering at 800x600 (...) (20 years ago, 25-Oct-04, to lugnet.cad.dev)
 
  Re: LDraw Birds of a Feather session at the O'Reilly Mac OS X Conference Oct. 25th
 
(...) Good luck! have someone take pictures and write an article for the site :-) -Tim (20 years ago, 21-Oct-04, to lugnet.cad.dev.mac)
 
  Re: ptreleases.cgi - Ready to Roll?
 
(...) Good. :) I've moved the changes to ptreleases.cgi, so that can now be considered a 'production' script. I'll write up some information about it, and add it to the Official Library page. (...) You're welcome. Though I must say, it took me long (...) (20 years ago, 20-Oct-04, to lugnet.cad.dev)
 
  LDraw Birds of a Feather session at the O'Reilly Mac OS X Conference Oct. 25th
 
If anyone is going to the O'Reilly Mac OS X conference next week, please come to the LDraw BOF, hosted by me! :D (URL) (20 years ago, 20-Oct-04, to lugnet.cad.dev.mac)
 
  Re: ptreleases.cgi - Ready to Roll?
 
Hi Steve, "Steve Bliss" <steve.bliss@earthlink.net> schrieb im Newsbeitrag news:I5Kr1I.D49@lugnet.com... (...) the (...) (URL). (...) new (...) This looks perfect! Thank you! Michael (20 years ago, 19-Oct-04, to lugnet.cad.dev)
 
  Re: LDraw.org's September Model and Scene of the Month Winners
 
(...) Congratulate with the scene Ben, it's really nice and the cows look very cute, but I think you should work a little more with the background, hiding the big concrete field in the background by adding another layer of houses, trees or landscape (...) (20 years ago, 17-Oct-04, to lugnet.cad.dev.org.ldraw, FTX)
 
  Re: LDGlite and LPub (and maybe ldview?
 
(...) Ahh, nevermind. That didn't really work either. Applying the opaque/transparent only filter right before dumping the png is simple, and looks good enough for me. I'm going with that and forget about the icky sharp outer edges for now. They (...) (20 years ago, 15-Oct-04, to lugnet.cad.dev)
 
  Re: LDGlite and LPub (and maybe ldview?
 
(...) Ok i did a quick once over of glBlendFunc manpage and it looks like switching line antialiasing from: glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); to glBlendFunc(GL_SRC_A..._SATURATE, GL_ONE_MINUS_SRC_ALPHA); eliminates the problem (...) (20 years ago, 15-Oct-04, to lugnet.cad.dev)
 
  Re: LDGlite and LPub (and maybe ldview?
 
(...) Thanks, that did it. Yuck! (...) Let's see if I understand what's going on here. When I antialias the edge lines, the RGB colors buffer gets blended, and so does the alpha channel. If alpha was all zeros, now instead of all ones, it gets (...) (20 years ago, 15-Oct-04, to lugnet.cad.dev)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR