NVIDIA Scene Graph binary file
application/octet-stream
Magic Bytes
Offset: 0
23 50 45 43 30 30 30 31 4C 41 3A
The NVIDIA Scene Graph binary file (NBF) is a proprietary 3D data format developed by NVIDIA Corporation for its high-performance scene graph programming interface. It serves as a persistence format for complex three-dimensional scenes, enabling efficient loading and rendering within professional visualization, computer-aided design, and simulation environments. Although largely superseded by newer technologies like the SceniX engine, the format remains relevant for legacy data compatibility and carries minimal security risk as a non-executable binary.
Validation Code
How to validate .nbf files in Python
Python
def is_nbf(file_path: str) -> bool:
"""Check if file is a valid NBF by magic bytes."""
signature = bytes([0x23, 0x50, 0x45, 0x43, 0x30, 0x30, 0x30, 0x31, 0x4C, 0x41, 0x3A])
with open(file_path, "rb") as f:
return f.read(11) == signature
How to validate .nbf files in Node.js
Node.js
function isNBF(buffer: Buffer): boolean {
const signature = Buffer.from([0x23, 0x50, 0x45, 0x43, 0x30, 0x30, 0x30, 0x31, 0x4C, 0x41, 0x3A]);
return buffer.subarray(0, 11).equals(signature);
}
Go
func IsNBF(data []byte) bool {
signature := []byte{0x23, 0x50, 0x45, 0x43, 0x30, 0x30, 0x30, 0x31, 0x4C, 0x41, 0x3A}
if len(data) < 11 {
return false
}
return bytes.Equal(data[:11], signature)
}
API Endpoint
GET
/api/v1/nbf
curl https://filesignature.org/api/v1/nbf