Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4106604
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T21:23:52+00:00 2026-05-20T21:23:52+00:00

As I was playing around with the WPF’s 3D support, I wanted to try

  • 0

As I was playing around with the WPF’s 3D support, I wanted to try different options for the 3d objects material types, so at first I created a simple scene, with just a triangle (which is rendered ok):

<Viewport3D>
            <Viewport3D.Camera>
                <PerspectiveCamera Position="-2,2,2" LookDirection="2,-2,-2" UpDirection="0,1,0" />
            </Viewport3D.Camera>
            <ModelVisual3D>
                <ModelVisual3D.Content>
                    <DirectionalLight Color="White" Direction="-1,-1,-1" />
                </ModelVisual3D.Content>
            </ModelVisual3D>
            <ModelVisual3D>
                <ModelVisual3D.Content>
                    <GeometryModel3D>
                        <GeometryModel3D.Geometry>
                            <MeshGeometry3D Positions="-1,0,0 0,1,0 1,0,0" TriangleIndices="0,2,1" />
                        </GeometryModel3D.Geometry>
                        <GeometryModel3D.Material>
                            <DiffuseMaterial Brush="Yellow" />
                        </GeometryModel3D.Material>
                    </GeometryModel3D>
                </ModelVisual3D.Content>
            </ModelVisual3D>
        </Viewport3D>

But it seems that the triangle is no longer rendered when I changed the GeometryModel3D.Material to another material like

<SpecularMaterial Brush="Yellow" Color="Yellow" SpecularPower="24" />

or

<EmissiveMaterial Brush="Yellow" ></EmissiveMaterial>

Why is that? should I be using different lights for the specular or emissive materials to work?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T21:23:53+00:00Added an answer on May 20, 2026 at 9:23 pm

    Emissive material does not work by its own, use it in combination with other materials. As for example:

    <GeometryModel3D.Material>
      <MaterialGroup>
        <DiffuseMaterial Brush="Black"></DiffuseMaterial>
        <EmissiveMaterial Brush="Yellow" ></EmissiveMaterial>
      </MaterialGroup>
    </GeometryModel3D.Material>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm just playing around with WPF and MVVM, and I have made a simple
I've been playing around with WPF for the first time, specifically using a ListView
Hopefully this is an appropriate question... I'm playing around with WPF for the first
i`m currently playing around with WPF and now i wonder what would be the
I'm playing around with wpf and I saw the following article: WPF ListView Inactive
I'm playing around with WPF and databinding and I'm wondering about the following. I
I just started playing around with WPF today, and I couldn't find the datagridview
I've been playing around with WPF for a while and I like how it
Just for kicks I'm playing around a bit with C# and WPF. I'm going
I'm playing around with WPF Binding and variables. Apparently one can only bind DependencyProperties.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.