Jump to content

Camera Match anomaly?


Recommended Posts

Dr. Panzer, Dr. Panzer, emergency in room 101! ūüôā

Matt...I  am working on this commercial project in Calif, and the local planning department is requesting some images of how the project will look within the context of the existing neighborhood. So, Camera Match is more than helpful in this situation, but I am noticing this little anomaly pertaining to my 3d model of the new building and the Camera Match Photo.  There is a sort of white outline around some of the objects, especially the real 3d trees, plants, etc (not image props).  You can see this in the screen shot called "Booker St. Anomaly". I also attached the before and after images as a reference.

Any thoughts on what may be causing this ?

Thanks

-Kev

Boeker St. 5166.jpeg

BOEKER STREET VIEW.JPG

Boeker St. Anomaly.png

  • Like 4
Link to comment

3D Tress/Plants usually still have some Polygons that use transparency masks for all details.

It is generally better to set these from transparency Maps to stencils Maps.

(gray values in masks are very render time expensive, stencil masks are just either transparent or not)

Not sure if that will work here in VW.

(Add stencil mask "from existing texture" and deleting transparency map later ?)

But if the mask does not fit the texture, that will not help.

 

Second, try to disable all Reflection in the tree material.

 

Third, unlikely but deactivate any self illumination in Plant Material.

(something which is usually default in image props materials - so you do not notice

different lighting on both planes - but they will glow in the dark ...)

Edited by zoomer
  • Like 1
Link to comment
7 hours ago, Kevin K said:

Dr. Panzer, Dr. Panzer, emergency in room 101! ūüôā

Matt...I  am working on this commercial project in Calif, and the local planning department is requesting some images of how the project will look within the context of the existing neighborhood. So, Camera Match is more than helpful in this situation, but I am noticing this little anomaly pertaining to my 3d model of the new building and the Camera Match Photo.  There is a sort of white outline around some of the objects, especially the real 3d trees, plants, etc (not image props).  You can see this in the screen shot called "Booker St. Anomaly". I also attached the before and after images as a reference.

Any thoughts on what may be causing this ?

Thanks

-Kev

Boeker St. 5166.jpeg

BOEKER STREET VIEW.JPG

Boeker St. Anomaly.png

 

In another lifetime, I grew up in SLO and went surfing there all the time. Brought back some great memories...  Anyway, curious to see what Matt says as that artifact is only visible with the photo as the background (vs the VW model).

Link to comment

Mark

Wow...really? In a galaxy far far away in the past ūüôā

Yeah I lived in Cambria and Cayucos for years and years before moving to French Poly.

I did a little test exporting a render bitmap image after placing a blue extrusion behind there 3d model and you can see there is not issue with any white outlines as occurred with the Camera Match Object Photo.

 

It will be interesting to have Matt weigh in.

TEST.jpg

Link to comment
  • Vectorworks, Inc Employee
22 hours ago, Kevin K said:

Dr. Panzer, Dr. Panzer, emergency in room 101! ūüôā

Matt...I  am working on this commercial project in Calif, and the local planning department is requesting some images of how the project will look within the context of the existing neighborhood. So, Camera Match is more than helpful in this situation, but I am noticing this little anomaly pertaining to my 3d model of the new building and the Camera Match Photo.  There is a sort of white outline around some of the objects, especially the real 3d trees, plants, etc (not image props).  You can see this in the screen shot called "Booker St. Anomaly". I also attached the before and after images as a reference.

Any thoughts on what may be causing this ?

Thanks

-Kev


Hi Kevin,

Can you PM me the file?

is this white ‚Äúhalo‚ÄĚ showing in the Vectorworks application, exported files, or both?

Link to comment
  • Vectorworks, Inc Employee

@Kevin K,

Try deselecting the "None fill uses alpha transparency" option in the Viewport's "Advanced Properties".  I think that might correct the issue.  I don't believe that setting should effect the viewport like that so this is something we'll look into.

Please let me know if this helps.

  • Like 1
Link to comment

Matt

I have no idea under the sun how or why you came up with the suggestion to UNCHECK the option for 'none fill uses alpha transparency'....but it totally worked!! 

I am calling your boss and demanding you get a raise!!! ūüôā

 

The image below is of another view, using camera match, but you can clearly see that the situation I was having, with the halo white outlines around any 3d landscape items etc, is totally gone. You may need to click the image to see it at correct resolution.

 

Anyway, thanks heaps.

 

1673423346_FRONTVIEW.thumb.jpg.db5ba081884d454c1f03a314342520da.jpg

  • Like 3
Link to comment
  • Vectorworks, Inc Employee
11 minutes ago, Kevin K said:

Matt

I have no idea under the sun how or why you came up with the suggestion to UNCHECK the option for 'none fill uses alpha transparency'....but it totally worked!! 

I am calling your boss and demanding you get a raise!!! ūüôā

 

The image below is of another view, using camera match, but you can clearly see that the situation I was having, with the halo white outlines around any 3d landscape items etc, is totally gone. You may need to click the image to see it at correct resolution.

 

Anyway, thanks heaps.

 

1673423346_FRONTVIEW.thumb.jpg.db5ba081884d454c1f03a314342520da.jpg

 

You're very welcome!  I'm glad it worked and nice rendering!!!

 

I only tried that option because I knew it had SOMETHING to do with transparency.  I certainly do not believe that this is intended behavior.  Just a shot in the dark, really.

I did track down a bug on the same issue you have (VB-150159) and added a comment about how that setting affects it.  Hopefully it'll help the engineers zero in on the problem.

 

Nevertheless, I'll PM you the cell number for my boss. ūüėȬ†

 

 

  • Like 3
Link to comment

Don't quote me if I'm off here going by memory...

In Custom Renderwork you can turn off Anti-aliasing as the anti-alias pixels aren't transparent and don't work to a the background*  so often end up making a halo instead of a blend. 

 

To me mind photo matching anti-aliasing isn't your friend anyway as things like plants are fuzzy to start with and building edges are hard and shouldn't be fuzzy. 

 

*this might be just because I cheap out and set it to low which might make to the pixels to big. 

 

Edit to add: Nice work on the entourage. Had so much trouble getting 3D cars to sit nicely aligned to the road surface like that in my last images. 

Edited by Matt Overton
praise
  • Like 1
Link to comment
  • Vectorworks, Inc Employee
6 hours ago, Matt Overton said:

Don't quote me if I'm off here going by memory...

In Custom Renderwork you can turn off Anti-aliasing as the anti-alias pixels aren't transparent and don't work to a the background*  so often end up making a halo instead of a blend. 

 

To me mind photo matching anti-aliasing isn't your friend anyway as things like plants are fuzzy to start with and building edges are hard and shouldn't be fuzzy. 

 

*this might be just because I cheap out and set it to low which might make to the pixels to big. 

 

Edit to add: Nice work on the entourage. Had so much trouble getting 3D cars to sit nicely aligned to the road surface like that in my last images. 

 

Yeah.  I thought turning off the Anti-aliasing would be my last resort workaround but it doesn't help.  It just makes the halo look more blocky in this case.

 

IMO, Anti-aliasing is very important in getting realistic results because the sharp edge of the rendered model makes the model appear pasted on the photo.  Blending is much more convincing but you do have to have the resolution high enough to prevent the model from appearing fuzzy.  I typically try to set the sheet layer DPI to match the DPI of the photo image displayed in the Camera Match object.  When you select a Camera Match object, it reports the photo's effective DPI (based on the image size) in the Object Info palette so its easy to find.  Matching the DPI like that allows the rendered pixels to match the pixels in the photo used for the render background.  Depending on what you're after, you may want to bump it up or down from there but that's a good starting point.

  • Like 4
Link to comment

One final thought on this topic...then I will shut up about it ūüôā

Note the before and after images.  I hired a drone pilot to take a few aerial shots of the site where this proposed project will be situated.

My point is that without Camera Match and its great masking and shadow tools, this would have pretty difficult and time consuming to procure by 'faking' a rendered view and placing it into a photograph.  Possible, but time consuming, without any real accuracy.

It is one thing to take a photograph from the ground, and if you have all the right GPS settings, etc tied to the photo, which can show the longitude and latitude as well the angle of the shot pertaining to North, an aerial photo is a different animal.

 

So....my sage advice is that Camera Match will probably serve you well. ¬†ūüôā

-Kev766961023_AlexsExistingimage.thumb.jpg.030b73b2a6f5b607ef539088a545975d.jpg1213203903_ALEXSISOAERIALVIEW.thumb.JPG.183216b88bcbf6e8c5aa0c6c397c16cb.JPG

  • Like 4
Link to comment
  • Vectorworks, Inc Employee
3 hours ago, Kevin K said:

Matt

Yeah, those fine tuning tools….so, so helpful. I can’t even fathom what was involved in creating those little gems!

Thanks for a bit of CM history!


Thanks Kevin!  Yeah.  The hardest part of each tuning mode was keeping the reference point in the model pinned to the target in the Camera Match object.  It drove me a bit crazy for 2-3 months but it was so rewarding every time I nailed each mode down. 

  • Like 2
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

√ó
√ó
  • Create New...