Git Product home page Git Product logo

nebula3's People

Contributors

kienvn avatar

nebula3's Issues

D3D9Texture::Unmap will assert

What steps will reproduce the problem?
1. D3D9Texture::Map()
2. D3D9Texture::Unmap()

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?
Nebula3 SDK Sep 2008

Please provide any additional information below.

this->GetD3D9Texture()->UnlockRect(mipLevel);
now the mapCount is not 0, so this->GetD3D9Texture() will assert

Original issue reported on code.google.com by [email protected] on 14 Dec 2008 at 2:14

the device lost is not handled cerrectly

What steps will reproduce the problem?
1. run testgame.exe
2. Win+L to lock Windows
3. the D3D9RenderDevice::Present() will fail

the n_assert will exit the program, so i change the code to:
=================================================================
    if (0 != D3D9DisplayDevice::Instance()->GetHwnd())
    {
        HRESULT hr = this->d3d9Device->Present(NULL, NULL, 0, NULL);
        n_assert(SUCCEEDED(hr) || D3DERR_DEVICELOST == hr);
    }
=================================================================
but the num of device lost handlers is zero, so the Reset() would always 
return FAIL! so it renders nothing.
=================================================================
    else if (D3DERR_DEVICENOTRESET == hr)
    {
        // notify event handlers that the device was lost
        this->NotifyEventHandlers(RenderEvent(RenderEvent::DeviceLost));
=================================================================
I switch to DEBUG version of DirectX, and get some information. I think 
the the render target should recreate when the device is lost

Original issue reported on code.google.com by [email protected] on 20 Sep 2008 at 6:01

warning C4819 (code page problems of non-unicode source files)

What steps will reproduce the problem?
1. In my case, I use Korean Windows whose code page for MBCS is 949.
2. just type on cmd shell: 'msbuild compile.msbuild'
3. I got many C4819 warning and other errors.

What is the expected output? What do you see instead?

no compile error expected :)

What version of the product are you using? On what operating system?

Windows Vista Ultimate x64 Korean Ed, Visual Studio 2005 SP1

Please provide any additional information below.

Please do not use any special characters
which is not compatible with ANSI or 7bit charset.

Original issue reported on code.google.com by [email protected] on 11 Aug 2008 at 6:34

Window style is wrong for window mode


DisplayMode
D3D9DisplayDevice::ComputeAdjustedWindowRect()
{
...
            AdjustWindowRect(&r, this->windowedStyle, 0);
...
}
and the position of the DisplayMode may be negative

Original issue reported on code.google.com by [email protected] on 3 Aug 2009 at 1:11

volume texture code bug

d3d9texture.cc, line 249
==============================================================
void
D3D9Texture::SetupFromD3D9VolumeTexture(IDirect3DVolumeTexture9* texVolume)
{
    n_assert(0 != texVolume);

    this->d3d9VolumeTexture = texVolume;
    HRESULT hr = texVolume->QueryInterface(IID_IDirect3DBaseTexture9, 
(void**) &this->d3d9VolumeTexture);
===============================================================
should changed to:
HRESULT hr = texVolume->QueryInterface(IID_IDirect3DBaseTexture9, (void**) 
&this->d3d9BaseTexture);

Original issue reported on code.google.com by [email protected] on 20 Sep 2008 at 6:07

Is this a bug?

the "testrenderer.exe" will crash when it is running. this is because the 
wrong format of the default rendertarget. I found the default pixel format 
of the DisplayMode is InvalidPixelFormat, so I changed it to X8R8G8B8. Now 
the example is running correctly.

/**
    This constructor is suitable for windowed modes.
*/
inline
DisplayMode::DisplayMode(uint x, uint y, uint w, uint h) :
    xPos(x),
    yPos(y),
    width(w),
    height(h),
    pixelFormat(PixelFormat::X8R8G8B8)
{
    // empty
}

Original issue reported on code.google.com by [email protected] on 31 Jul 2008 at 1:25

The Audio System's "Wave" has no 3D effect

What steps will reproduce the problem?
1. AudioPlayer::PlayWave3D()

What is the expected output? What do you see instead?
because the XACT does not support 3D wave, it only supports 3d cue...

What version of the product are you using? On what operating system?
Nebula3 SDK (Sep 2008)




Original issue reported on code.google.com by [email protected] on 27 Nov 2008 at 1:39

There may be a delay on 3D Cue's transform information to take place

What steps will reproduce the problem?
1. build a cue which has a distance attenuation with XACT(DXSDK's Tool)
2. Setup the N3's Audio System
3. Play that cue at a distance(the sound volume should be lower)

What is the expected output? What do you see instead?
at the start of playing, the sound effect has no distance attenuation, but 
after about 0.1 second, this attenuation takes place.

What version of the product are you using? On what operating system?
Nebula3 SDK (Sep 2008), Microsoft DirectX SDK (March 2008)

Please provide any additional information below.
the 3d effect won't take place before xactEngine->DoWork(), so you should 
update the engine when the cue starts playing:

Ptr<Cue>
AudioDeviceBase::PlayCue(const CueId& cueId, bool play, bool enable3D, 
const Math::matrix44& transform, const Math::vector& velocity)
{
    n_assert(this->IsOpen());
    Ptr<SoundBank> soundBank;
    IndexT cueIndex = this->FindCue(cueId, soundBank);
    if (InvalidIndex != cueIndex)
    {
        // create and setup a new cue instance
        Ptr<Cue> newCue = Cue::Create();
        newCue->Setup(soundBank, cueIndex, play, enable3D);
        this->activeCues.Append(newCue);
        if (enable3D)
        {
            newCue->SetTransform(transform);
            newCue->SetVelocity(velocity);
            this->OnFrame();
        }
        return newCue;
    }
    else
    {
        n_error("PlayCue(): cue '%s' not found in any loaded sound bank!", 
cueId.Value().AsCharPtr());
        return Ptr<Cue>();
    }
}


Original issue reported on code.google.com by [email protected] on 29 Nov 2008 at 6:25

the DisplayDevice's DisplayMode is not correct

the DisplayMode's width & height is ought to the Window's client width & 
height, instead of Window's width & height. Therefore, the render target 
size is wrong, so the text/image is not so clear.

What version of the product are you using? On what operating system?
Nebula3 SDK Sep 2008

Please provide any additional information below.
//-------------------------------------------------------------------------
-----
/**
    Open the application window.
*/
bool
Win32DisplayDevice::OpenWindow()
{
.......
    // the rendering area is not the whole window
    RECT rect;
    GetClientRect(this->hWnd, &rect);
    this->displayMode.SetWidth(rect.right);
    this->displayMode.SetHeight(rect.bottom);

    return true;
}

Original issue reported on code.google.com by [email protected] on 14 Dec 2008 at 4:27

debug version's result will be wrong if there is a gamepad connect to the computer

What steps will reproduce the problem?
1. compile a debug version of testviewer
2. connect a gamepad to the computer
3. run testviewer.debug.exe

What is the expected output? What do you see instead?
what rendering is not the same to the release version, and cannot operate 
by mouse

What version of the product are you using? On what operating system?
Nebula3 SDK April 2009

Please provide any additional information below.
RenderApplication::RenderApplication() :
    //time(0.0),
    //frameTime(0.0),
    quitRequested(false)
{
    // empty
}
those two member variables were not inited!!!

Original issue reported on code.google.com by [email protected] on 11 Aug 2009 at 2:46

=> VS8.0: idlc.sln ERROR: target 'idlc' not defined!

What steps will reproduce the problem?
1. cd code
2. tclsh update.tcl
3. output:
:: GENERATING...
...
...
-> VS8.0: benchmarks_win32.benchmarkbase_win32.vcproj
-> VS8.0: benchmarks_win32.benchmarkfoundation_win32.vcproj
-> VS8.0: benchmarks_win32.benchmarkaddon_win32.vcproj
=> VS8.0: idlc.sln
ERROR: target 'idlc' not defined!


What is the expected output? What do you see instead?

no error expected.

What version of the product are you using? On what operating system?

Vista x64, VS2005 SP1, ActiveState ActiveTcl 8.5.3.0

Please provide any additional information below.

I don't know well about Tcl, I can't edit the generation script. 
Please check this error message. Thanks.

Original issue reported on code.google.com by [email protected] on 16 Aug 2008 at 8:15

DisplayDeivce should have a method for tool application's window

I want to use n3 as the base library of a tool application, which is build 
with MFC/CLR. But I have to change the code of Win32DisplayDevice to 
render things in another window in MFC/CLR. The InputServer also do not 
provide friendly interface to use child window's handle(HWND).

although i can edit the code by myself , i think n3 should have those 
code, then someone can write many tools for n3. ^_^

Original issue reported on code.google.com by [email protected] on 22 Nov 2008 at 2:49

XACTAudioDevice may have a momery leak

What steps will reproduce the problem?
this method is not called by Close()
XACTAudioDevice::UnloadGlobalSettings()

What version of the product are you using? On what operating system?
Nebula3 SDK (Sep 2008)

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 25 Nov 2008 at 10:12

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.