sketchucation logo sketchucation
    • Login
    1. Home
    2. AdamB
    3. Posts
    🛣️ Road Profile Builder | Generate roads, curbs and pavements easily Download
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 129
    • Posts 933
    • Groups 2

    Posts

    Recent Best Controversial
    • RE: LightUp v1.2 is finally out

      @dave r said:

      Adam, this is very slick but I have a question now. See the image below. After running LightUp, the cushions seem to lose their rounded edges. Is there something I can do to make the cushions keep their radiused edges?

      http://img.photobucket.com/albums/v506/weekender410/LightUpScreenGrab.jpg

      Nice image - very calm.

      So, there are two things at play. If the LightUp Resolution you use is smaller than a feature you're trying to capture, you're going to miss it with regard to lighting (its called aliasing in signal theory - hence anti-aliasing is about accounting for the fact that the world is continuous (infinite resolution) and we draw with pixels (fixed resolution)).

      So, once you're happy with the lighting setup, bumping up the resolution to something high will get you a better result. LightUp accepts 2 flavors of Resolution input. Easy one is "Nx", eg "1x", "3x" etc. More complex is an absolute measure: "2cm" means calc lighting every 2cm over entire model.

      Increasing resolution will capture more detail - but be aware there is a wrinkle in LightUp that makes its handling of curves not as good as it could be - as time progresses I have no doubt it will improve. For now its probably simplest to establish your lighting rig at low resolution, bake it at high resolution, save your model which will save some extra info that LightUp has added meaning if you click Tourtool next time, it can pull out cached results and quickly switch to realtime mode.

      Adam

      posted in Developers' Forum
      AdamBA
      AdamB
    • RE: How hot is that surface?

      As always, you guys are very generous with your comments. Thankyou.

      @mike lucey said:

      Your on the right track with this development Adam. If it could
      be possible to get feedback figures I think the product would be
      useful for analysis of existing buildings also but I imagine some
      way of taking weather conditions into account would have to be
      found (cloudy days etc).

      Well because it takes account the height of the sun above the horizon, you get a more oblique sun on surfaces in winter so it is accounted for. I see this tool as about analysis of 'limit cases' - ie if its cloudy every day you'll get less heat than this.

      @unknownuser said:

      Must be really simple to do in code but I still think it's amazing.

      Its just ones and zeros, how hard can it be. 😄

      @plot-paris said:

      I am looking forward to this tool being implemented.
      ps: how did you do the reflection in the water? obviously you didn't simply take the environment map as reflection reference - for the buildings show up in the reflective surface as well...

      LightUp allows you to plonk markers around your scene (called IrrCache) that capture what's visible at that point and are queried by reflective surfaces nearby. It does have limitations of course but as a realtime method of giving a sense of 'its shiney, its bumpy, its in the scene' its pretty effective.

      Adam

      posted in Developers' Forum
      AdamBA
      AdamB
    • How hot is that surface?

      I've been playing with some early tech for a possible future tool that visualizes the total sunlight on every surface in your model in a 24 hour period.

      It takes account of the Sketchup date and so you get some surprisingly complex patterns emerging.

      Take a look here; I thought it was all rather pretty.

      Adam

      posted in Developers' Forum
      AdamBA
      AdamB
    • RE: [REQ] stitching aces together

      @perk said:

      I' not sure if this would work but I think the weld script might do what you are asking

      Stitching is a little more general because it handles the case of different tessellation on the 2 pieces and adding zero area geometry to ensure you don't get cracking at T-junctions.

      posted in Plugins
      AdamBA
      AdamB
    • RE: LightUp v1.2 is finally out

      I've started a little gallery of LightUp lighting on the website here.
      Aside from the one model courtesy of SCF's very own Coen Naninck, I think it demonstrates that I may be a dab hand at the technology but I'm no artist! 😢 So if you've got any good LightUp pictures then lets be having them!

      Adam

      posted in Developers' Forum
      AdamBA
      AdamB
    • RE: Faces area in a group ?

      @didier bur said:

      Voilà, c'est touT !

      Enfin! Apres vingt ans avec une epouse Francais, plus ca change avec mon Franglais..

      posted in Developers' Forum
      AdamBA
      AdamB
    • RE: Faces area in a group ?

      (FWIW I'd say face.area giving objects space area is the correct behaviour.)

      But people, this is all the wrong approach. You don't want to be building geometry, you just want to run through each face in the object and scale the area by the transformation. The trick is to project the scaling into the face's basis frame.

      So the code in my book is:

      def objectsurfacearea(container, xform)
      
      	total = 0
      	for ent in container.entities
      		next unless ent.kind_of? Sketchup;;Face	
      
      		# get face basis frame	
      		normal = ent.normal
      		binormal = Geom;;Vector3d.new(normal.y,normal.z,normal.x)
      		tangent = (normal * binormal).normalize
      		
      		areascale = (xform * binormal).length * (xform * tangent).length
      
      		total += ent.area * areascale
      	end
      
      	return total
      end
      
      

      So you'd do:
      objectsurfacearea(mygroup, mygroup.transformation)

      or

      objectsurfacearea(myinstance.definition, myinstance.transformation)

      Voila! C'est tous.

      Adam

      posted in Developers' Forum
      AdamBA
      AdamB
    • RE: LightUp 1.2 für Sketchup

      @azuby said:

      "Or another question: How to set a light source or something like that?"

      Babel fish 💚

      Watch this video which show dropping a Point Light into a scene.

      Adam

      posted in Deutsch
      AdamBA
      AdamB
    • RE: LightUp 1.2 für Sketchup

      @ralph_b said:

      Und weiter ??? 🎉

      Hier mal ein Resultat ....

      Es sieht wie Sie hat keine Lichtquelle aus

      Aktivieren Sie "Use Sun" (Gebrauch-Sonne) in den Präferenzen

      posted in Deutsch
      AdamBA
      AdamB
    • RE: LightUp 1.2 für Sketchup

      [excuse the English, but anything I can help with?]

      Adam

      posted in Deutsch
      AdamBA
      AdamB
    • RE: Mac OS X Leopard compatibility?

      Sketchup runs fine under Leopard. (-ish)

      But if I could do it again, I would never have upgraded to Leopard.

      It is significantly slower all around - it has that Windows thing of the disk practically taking off when you open a folder. I just hate it. Unless you have a really compelling reason to upgrade (and Time Machine ain't it) then stay put is my advice.

      Adam

      posted in Newbie Forum
      AdamBA
      AdamB
    • RE: Instancing in indigo

      Realtime instancing is the only way to go.. 😉

      megacity.jpg

      And a very short vid too is here

      (Should just say that on my old laptop it runs at silky smooth 30Hz comfortably - its the vid capture/youtube compression that drops the framerate)

      Adam

      posted in Gallery
      AdamBA
      AdamB
    • RE: LightUp v1.2 is finally out

      @tinanne said:

      Thanks Adam, I DL the new version.

      Is there anyway you can name the files with the version # ie:LightUpWin1.2 I don't usually like to overwrite files and I like to keep the old ones, just in case. Just a thought 😉

      Just an all round good idea. Consider it on the todo list! (EDIT: now done)

      Thanks,
      Adam

      posted in Developers' Forum
      AdamBA
      AdamB
    • RE: LightUp v1.2 is finally out

      @burkhard said:

      This is done with V1.1 testing the space navigator. A lot of fun and it runs smoother than the flash file show. Tested on my 6 years old PC 😉
      Good work!!! 👍

      Love to take a look but I can't open this on a Mac. 😞

      Adam

      posted in Developers' Forum
      AdamBA
      AdamB
    • RE: LightUp v1.2 is finally out

      @adamb said:

      @unknownuser said:

      Adam thankyou!

      The text on your site (face page) is not readable it appears about .3 points....

      @bellwells said:

      The text on the right side is small, but I can read it OK. How old are your eyes, Bruce?

      Hmm, if you have MS Explorer set to reduce font size of web pages (View->Text Size -> Smaller) then it does come out pretty small. I'll look into it. Thanks.

      Adam

      Fixed. You may need to hit Refresh on Explorer to ensure its not using a cached copy.

      posted in Developers' Forum
      AdamBA
      AdamB
    • RE: LightUp v1.2 is finally out

      @unknownuser said:

      Adam thankyou!

      The text on your site (face page) is not readable it appears about .3 points....

      @bellwells said:

      The text on the right side is small, but I can read it OK. How old are your eyes, Bruce?

      Hmm, if you have MS Explorer set to reduce font size of web pages (View->Text Size -> Smaller) then it does come out pretty small. I'll look into it. Thanks.

      Adam

      posted in Developers' Forum
      AdamBA
      AdamB
    • LightUp v1.2 is finally out

      I've put up a new version of LightUp - version 1.2a - which fixes a number of bugs with larger models, adds some simpler material markup for emitters etc and a number of other features.

      Both Macintosh and Windows versions available.

      Adam

      posted in Developers' Forum
      AdamBA
      AdamB
    • RE: Implementing scrambler

      You want the Sketchup version of "require" called "Sketchup::require" which knows about scrambled eggs.

      posted in Developers' Forum
      AdamBA
      AdamB
    • RE: Some visual Issues with my graphics

      @chris fullmer said:

      Clipping is a known issue of perhaps every 3d application? Its why 3d games don't let you zoom in very close to anything. They put clipping restraints placed on cameras to keep them from getting to close and clipping objects. If there are programs that truly get around clipping, it would be cool to know how they do it though if anyone has any more specific info?

      Chris

      You're right, its a problem for all zbuffer based 3d applications. Which basically means all 3d applications.
      A zbuffer stores 1/z for every pixel, so by controlling the near clip plane you can get significantly better z-precision.
      Its all about the ratio between the furthest thing drawn and the closest thing drawn. So if you want better precision you might want to hide stuff further away.

      In answer to your question about getting around it. Its a problem thats largely ignored by cunningly choosing near and far clip planes that do an OK job most of the time. If you really want to get around it you do whats known as "slab rendering". You render your scene in slabs of Z using the whole resolution of the Z buffer for each pass building up from far to near thus effectively doubling/tripling etc your actual Zbuffer resolution. Its actually not as hideous as it sounds performance-wise because of course each slab culls out most of the scene..

      There, you asked.

      Adam

      posted in SketchUp Discussions
      AdamBA
      AdamB
    • RE: LightUp

      @adamb said:

      @jorgensen said:

      Is the light included when one export as AVI ?

      Exporting movies from LightUp sounds like a useful feature for a future version though.

      Its all very well you guys coming up with great ideas to improve LightUp, but I'm the one that has to write the code! 🤓

      Anyhow, its done. For the retail version of LightUp you can now press Shift+return in Tourtool mode and it will save frame sequences in realtime which you can crunch down into a movie with Cinepac/mencoder or whatever.

      Also fixed a bug in the current demo of LightUp (v1.1c) that prevented looping Animation working while in Tourtool, so that will be in the next release (v1.2a)

      Adam

      posted in Developers' Forum
      AdamBA
      AdamB
    • 1
    • 2
    • 38
    • 39
    • 40
    • 41
    • 42
    • 46
    • 47
    • 40 / 47